Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.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.001439/0.001439, allocations: 107.2 kB / 17.54 MB, free: 4.641 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.001471/0.001471, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.306/1.306, allocations: 225.6 MB / 249.3 MB, free: 3.18 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 0.9712/0.9712, allocations: 175.7 MB / 480.1 MB, free: 2.75 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.SignalRanker,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 67.09 kB / 0.6677 GB, free: 10.9 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1536, allocations: 94.52 MB / 0.76 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002515/0.1561, allocations: 1.571 MB / 0.7616 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009547/0.1571, allocations: 0.5844 MB / 0.7621 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.655e-05/0.1571, allocations: 3.938 kB / 0.7621 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.073e-05/0.1572, allocations: 7.922 kB / 0.7621 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.06e-05/0.1573, allocations: 19.8 kB / 0.7622 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.1576, allocations: 87.77 kB / 0.7622 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1578, allocations: 107.6 kB / 0.7623 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.1579, allocations: 16.17 kB / 0.7624 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.158, allocations: 47.77 kB / 0.7624 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.198e-05/0.1581, allocations: 43.83 kB / 0.7625 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.1581, allocations: 8 kB / 0.7625 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.1582, allocations: 83.91 kB / 0.7625 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.1583, allocations: 27.84 kB / 0.7626 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.095e-05/0.1583, allocations: 47.72 kB / 0.7626 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1585, allocations: 131.5 kB / 0.7627 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1585, allocations: 0 / 0.7627 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1586, allocations: 4 kB / 0.7627 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.1586, allocations: 0 / 0.7627 GB, free: 14.01 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007928/0.1593, allocations: 456.6 kB / 0.7632 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1594, allocations: 12.03 kB / 0.7632 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.1594, allocations: 38.73 kB / 0.7632 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.1595, allocations: 8.891 kB / 0.7632 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.1597, allocations: 205.3 kB / 0.7634 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1597, allocations: 4.375 kB / 0.7634 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.1597, allocations: 8.375 kB / 0.7634 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.16, allocations: 101.8 kB / 0.7635 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.16, allocations: 4 kB / 0.7635 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.16, allocations: 0 / 0.7635 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.16, allocations: 11.97 kB / 0.7636 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.1604, allocations: 91.86 kB / 0.7636 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.161, allocations: 348.6 kB / 0.764 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.1613, allocations: 86.52 kB / 0.7641 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.1615, allocations: 56.88 kB / 0.7641 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.1615, allocations: 0 / 0.7641 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002879/0.1618, allocations: 119.3 kB / 0.7642 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1618, allocations: 0 / 0.7642 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006358/0.1624, allocations: 209.4 kB / 0.7644 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.1625, allocations: 55.41 kB / 0.7645 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1626, allocations: 139.8 kB / 0.7646 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1626, allocations: 29.7 kB / 0.7646 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.1627, allocations: 100.4 kB / 0.7647 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.1627, allocations: 27.78 kB / 0.7648 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.1628, allocations: 25.72 kB / 0.7648 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.1629, allocations: 330.7 kB / 0.7651 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.1631, allocations: 56.06 kB / 0.7652 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.1632, allocations: 59.89 kB / 0.7652 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.1636, allocations: 150.4 kB / 0.7654 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1636, allocations: 0 / 0.7654 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004556/0.1641, allocations: 203.2 kB / 0.7655 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.1641, allocations: 35.11 kB / 0.7656 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.1641, allocations: 0 / 0.7656 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1641, allocations: 3.984 kB / 0.7656 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1643, allocations: 19.98 kB / 0.7656 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1643, allocations: 0 / 0.7656 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.1644, allocations: 15.98 kB / 0.7656 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.1644, allocations: 7.922 kB / 0.7656 GB, free: 10.79 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$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): 7 * Array equations: 1 * 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 9.895e-05/0.1645, allocations: 125.8 kB / 0.7657 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.1645, allocations: 7.953 kB / 0.7658 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.1646, allocations: 12.7 kB / 0.7658 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.1646, allocations: 4 kB / 0.7658 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1646, allocations: 4 kB / 0.7658 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1646, allocations: 4 kB / 0.7658 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.1648, allocations: 201.4 kB / 0.766 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1648, allocations: 0 / 0.766 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.1649, allocations: 15.98 kB / 0.766 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1649, allocations: 0 / 0.766 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1649, allocations: 4 kB / 0.766 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1649, allocations: 4 kB / 0.766 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1649, allocations: 0 / 0.766 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.1653, allocations: 188.8 kB / 0.7662 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.1654, allocations: 92.98 kB / 0.7663 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1654, allocations: 4 kB / 0.7663 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.1655, allocations: 15.98 kB / 0.7663 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.1656, allocations: 8.172 kB / 0.7663 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.1656, allocations: 11.98 kB / 0.7663 GB, free: 10 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.512e-05/0.1657, allocations: 117.7 kB / 0.7664 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1657, allocations: 0 / 0.7664 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002237/0.1659, allocations: 35.95 kB / 0.7664 GB, free: 9.852 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * 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.0007838/0.1667, allocations: 0.7333 MB / 0.7672 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.1671, allocations: 179.2 kB / 0.7673 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1671, allocations: 0 / 0.7673 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.1673, allocations: 59.95 kB / 0.7674 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.1675, allocations: 15.98 kB / 0.7674 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.1698, allocations: 1.714 MB / 0.7691 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1701, allocations: 0.7041 MB / 0.7698 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.152e-05/0.1701, allocations: 15.97 kB / 0.7698 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.1702, allocations: 27.42 kB / 0.7698 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1702, allocations: 0 / 0.7698 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.1952, allocations: 2.757 MB / 0.7725 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.376, allocations: 0.6562 kB / 0.7725 GB, free: 3.586 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.775215027999366]