Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 114.8 kB / 17.54 MB, free: 4.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 185.9 kB / 20.71 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.003/1.003, allocations: 175.7 MB / 480.1 MB, free: 2.789 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 66.7 kB / 0.6677 GB, free: 11.03 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1601, allocations: 94.53 MB / 0.76 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002395/0.1625, allocations: 1.475 MB / 0.7615 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006851/0.1632, allocations: 450.9 kB / 0.7619 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.1633, allocations: 0 / 0.7619 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.1633, allocations: 3.938 kB / 0.7619 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.598e-05/0.1634, allocations: 3.938 kB / 0.7619 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.1635, allocations: 23.92 kB / 0.7619 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.824e-05/0.1636, allocations: 55.83 kB / 0.762 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.894e-05/0.1637, allocations: 19.92 kB / 0.762 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.611e-05/0.1637, allocations: 23.92 kB / 0.762 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.1638, allocations: 19.86 kB / 0.7621 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.1638, allocations: 4 kB / 0.7621 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.1638, allocations: 4 kB / 0.7621 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.1638, allocations: 11.98 kB / 0.7621 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.1639, allocations: 23.86 kB / 0.7621 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.082e-05/0.164, allocations: 39.88 kB / 0.7621 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.164, allocations: 0 / 0.7621 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.164, allocations: 0 / 0.7621 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.164, allocations: 0 / 0.7621 GB, free: 14.71 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004962/0.1645, allocations: 367.3 kB / 0.7625 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.1645, allocations: 8.031 kB / 0.7625 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.1645, allocations: 38.75 kB / 0.7625 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.1646, allocations: 4.891 kB / 0.7625 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.1647, allocations: 172.3 kB / 0.7627 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1647, allocations: 8.375 kB / 0.7627 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.1647, allocations: 4.375 kB / 0.7627 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.1648, allocations: 61.75 kB / 0.7628 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1648, allocations: 3.984 kB / 0.7628 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1648, allocations: 3.984 kB / 0.7628 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.1649, allocations: 7.938 kB / 0.7628 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.733e-05/0.1649, allocations: 27.92 kB / 0.7628 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.1654, allocations: 300.7 kB / 0.7631 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1655, allocations: 58.59 kB / 0.7631 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.52e-05/0.1655, allocations: 28.94 kB / 0.7632 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.1655, allocations: 0 / 0.7632 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.1657, allocations: 67.39 kB / 0.7632 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.1657, allocations: 0 / 0.7632 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002107/0.1659, allocations: 105.6 kB / 0.7633 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1659, allocations: 55.41 kB / 0.7634 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.237e-05/0.166, allocations: 105.8 kB / 0.7635 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.166, allocations: 33.7 kB / 0.7635 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.1661, allocations: 84.09 kB / 0.7636 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.1661, allocations: 23.84 kB / 0.7636 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.1661, allocations: 25.72 kB / 0.7637 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1663, allocations: 326.8 kB / 0.764 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-05/0.1663, allocations: 15.94 kB / 0.764 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-05/0.1664, allocations: 51.36 kB / 0.764 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.929e-05/0.1665, allocations: 67.36 kB / 0.7641 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1665, allocations: 0 / 0.7641 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001445/0.1666, allocations: 93.61 kB / 0.7642 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1666, allocations: 4 kB / 0.7642 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.1666, allocations: 0 / 0.7642 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1666, allocations: 8.031 kB / 0.7642 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.1667, allocations: 8.375 kB / 0.7642 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-06/0.1667, allocations: 3.938 kB / 0.7642 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.545e-05/0.1668, allocations: 15.94 kB / 0.7642 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1668, allocations: 7.938 kB / 0.7642 GB, free: 12.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.846e-05/0.1669, allocations: 122 kB / 0.7643 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.1669, allocations: 11.92 kB / 0.7644 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.1669, allocations: 7.969 kB / 0.7644 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1669, allocations: 3.984 kB / 0.7644 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1669, allocations: 4 kB / 0.7644 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1669, allocations: 4 kB / 0.7644 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.1673, allocations: 358.4 kB / 0.7647 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1673, allocations: 0 / 0.7647 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.782e-05/0.1674, allocations: 7.938 kB / 0.7647 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1674, allocations: 0 / 0.7647 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.1674, allocations: 0 / 0.7647 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1674, allocations: 4 kB / 0.7647 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.1674, allocations: 4 kB / 0.7647 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.1675, allocations: 187.5 kB / 0.7649 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.1676, allocations: 81.06 kB / 0.765 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.1676, allocations: 7.984 kB / 0.765 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/0.1677, allocations: 7.938 kB / 0.765 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.1677, allocations: 7.984 kB / 0.765 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1677, allocations: 4 kB / 0.765 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.1678, allocations: 83.28 kB / 0.7651 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1678, allocations: 4 kB / 0.7651 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002194/0.168, allocations: 16 kB / 0.7651 GB, free: 11.28 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004604/0.1684, allocations: 0.7164 MB / 0.7658 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.1686, allocations: 47.92 kB / 0.7659 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1686, allocations: 4.062 kB / 0.7659 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.884e-05/0.1686, allocations: 27.92 kB / 0.7659 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.1689, allocations: 11.62 kB / 0.7659 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.1702, allocations: 1.386 MB / 0.7673 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.1705, allocations: 0.6916 MB / 0.7679 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.469e-05/0.1705, allocations: 7.938 kB / 0.7679 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.1705, allocations: 23.42 kB / 0.768 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1705, allocations: 0 / 0.768 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.193, allocations: 1.755 MB / 0.7697 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.094/7.287, allocations: 5.266 kB / 0.7697 GB, free: 6.547 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.740591711000889]