Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.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.001162/0.001162, allocations: 109 kB / 17.54 MB, free: 4.781 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.001145/0.001145, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.271/1.271, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9762/0.9762, allocations: 175.7 MB / 480.1 MB, free: 2.797 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.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 71.36 kB / 0.6677 GB, free: 11.2 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1571, allocations: 94.53 MB / 0.76 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002565/0.1597, allocations: 1.453 MB / 0.7614 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007111/0.1604, allocations: 442.9 kB / 0.7619 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.1604, allocations: 0 / 0.7619 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.1604, allocations: 0 / 0.7619 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.1605, allocations: 7.875 kB / 0.7619 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.1606, allocations: 15.98 kB / 0.7619 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.1608, allocations: 55.84 kB / 0.7619 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.631e-05/0.1608, allocations: 11.92 kB / 0.762 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.634e-05/0.1609, allocations: 23.86 kB / 0.762 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.278e-05/0.161, allocations: 19.92 kB / 0.762 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.161, allocations: 4 kB / 0.762 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.161, allocations: 3.938 kB / 0.762 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.161, allocations: 11.98 kB / 0.762 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.161, allocations: 19.88 kB / 0.762 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.1611, allocations: 43.81 kB / 0.7621 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1612, allocations: 4 kB / 0.7621 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1612, allocations: 0 / 0.7621 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1612, allocations: 4 kB / 0.7621 GB, free: 14.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006181/0.1618, allocations: 397 kB / 0.7625 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1618, allocations: 12.03 kB / 0.7625 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.1618, allocations: 30.75 kB / 0.7625 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.1619, allocations: 4.938 kB / 0.7625 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.162, allocations: 168.3 kB / 0.7627 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.162, allocations: 8.359 kB / 0.7627 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.162, allocations: 8.375 kB / 0.7627 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.1622, allocations: 49.81 kB / 0.7627 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1622, allocations: 0 / 0.7627 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.1622, allocations: 7.938 kB / 0.7627 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1622, allocations: 0 / 0.7627 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.505e-05/0.1622, allocations: 23.92 kB / 0.7628 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.1626, allocations: 268.8 kB / 0.763 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.507e-05/0.1627, allocations: 42.56 kB / 0.7631 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.1627, allocations: 12.98 kB / 0.7631 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1628, allocations: 4 kB / 0.7631 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.163, allocations: 105 kB / 0.7632 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.163, allocations: 0 / 0.7632 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002658/0.1632, allocations: 143.2 kB / 0.7633 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.1633, allocations: 81.11 kB / 0.7634 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.755e-05/0.1634, allocations: 121.8 kB / 0.7635 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1634, allocations: 25.7 kB / 0.7635 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.1635, allocations: 84.14 kB / 0.7636 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.1635, allocations: 23.89 kB / 0.7636 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.1635, allocations: 25.72 kB / 0.7637 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1637, allocations: 322.8 kB / 0.764 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.029e-05/0.1637, allocations: 16 kB / 0.764 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.046e-05/0.1637, allocations: 42.55 kB / 0.764 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1639, allocations: 122.3 kB / 0.7641 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1639, allocations: 0 / 0.7641 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001574/0.164, allocations: 119.3 kB / 0.7642 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.164, allocations: 33.7 kB / 0.7643 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1641, allocations: 0 / 0.7643 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.1641, allocations: 4.062 kB / 0.7643 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.59e-05/0.1641, allocations: 4 kB / 0.7643 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1641, allocations: 3.984 kB / 0.7643 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.1642, allocations: 15.94 kB / 0.7643 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1642, allocations: 0 / 0.7643 GB, free: 12.28 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001139/0.1643, allocations: 154.8 kB / 0.7645 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.1643, allocations: 7.953 kB / 0.7645 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.1643, allocations: 12.75 kB / 0.7645 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1643, allocations: 0 / 0.7645 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1643, allocations: 4 kB / 0.7645 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1643, allocations: 0 / 0.7645 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.1647, allocations: 408.1 kB / 0.7649 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1647, allocations: 0 / 0.7649 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-06/0.1647, allocations: 0 / 0.7649 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.1648, allocations: 7.984 kB / 0.7649 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.1648, allocations: 0 / 0.7649 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1648, allocations: 0 / 0.7649 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1648, allocations: 7.875 kB / 0.7649 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.165, allocations: 237.1 kB / 0.7651 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.165, allocations: 89 kB / 0.7652 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1651, allocations: 0 / 0.7652 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.96e-05/0.1652, allocations: 11.98 kB / 0.7652 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.1652, allocations: 11.92 kB / 0.7652 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1652, allocations: 4 kB / 0.7652 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.1653, allocations: 83.28 kB / 0.7653 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1653, allocations: 4 kB / 0.7653 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002174/0.1655, allocations: 16 kB / 0.7653 GB, free: 11.12 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0005118/0.166, allocations: 0.7668 MB / 0.7661 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1662, allocations: 107.3 kB / 0.7662 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1662, allocations: 128 / 0.7662 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.1663, allocations: 91.33 kB / 0.7663 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.1665, allocations: 23.86 kB / 0.7663 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.1678, allocations: 1.413 MB / 0.7677 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.1681, allocations: 0.6846 MB / 0.7683 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.1681, allocations: 7.984 kB / 0.7683 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.1682, allocations: 19.44 kB / 0.7684 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1682, allocations: 0 / 0.7684 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.1916, allocations: 1.895 MB / 0.7702 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.139/7.331, allocations: 11.75 kB / 0.7702 GB, free: 6.023 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay.fmu > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.670147741999244]