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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005519/0.005519, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 201.3 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8459/0.8459, allocations: 135.6 MB / 426.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 66.27 kB / 0.5857 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1497, allocations: 81.02 MB / 0.6648 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002626/0.1524, allocations: 1.539 MB / 0.6663 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009528/0.1533, allocations: 0.5804 MB / 0.6669 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.1534, allocations: 0 / 0.6669 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.1535, allocations: 11.86 kB / 0.6669 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.955e-05/0.1536, allocations: 15.81 kB / 0.6669 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.1539, allocations: 87.75 kB / 0.667 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1541, allocations: 103.6 kB / 0.6671 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1542, allocations: 28.22 kB / 0.6671 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1543, allocations: 35.91 kB / 0.6672 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.426e-05/0.1544, allocations: 55.75 kB / 0.6672 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.1545, allocations: 4 kB / 0.6672 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1546, allocations: 87.91 kB / 0.6673 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.1547, allocations: 23.92 kB / 0.6673 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.525e-05/0.1547, allocations: 39.73 kB / 0.6674 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1549, allocations: 143.7 kB / 0.6675 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.155, allocations: 0 / 0.6675 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.986e-06/0.155, allocations: 4 kB / 0.6675 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.155, allocations: 0 / 0.6675 GB, free: 2.895 MB / 0.4981 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.000774/0.1557, allocations: 456.6 kB / 0.6679 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1558, allocations: 9.109 kB / 0.668 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.1558, allocations: 38.75 kB / 0.668 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1559, allocations: 12.89 kB / 0.668 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.1561, allocations: 192.2 kB / 0.6682 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1561, allocations: 384 / 0.6682 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.1561, allocations: 8.312 kB / 0.6682 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.1564, allocations: 109.7 kB / 0.6683 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1564, allocations: 0 / 0.6683 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1565, allocations: 7.875 kB / 0.6683 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.1565, allocations: 4 kB / 0.6683 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.1568, allocations: 95.91 kB / 0.6684 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006078/0.1574, allocations: 344.6 kB / 0.6687 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.1578, allocations: 94.5 kB / 0.6688 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.158, allocations: 60.88 kB / 0.6689 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.158, allocations: 0 / 0.6689 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003226/0.1583, allocations: 119.3 kB / 0.669 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1583, allocations: 0 / 0.669 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006239/0.1589, allocations: 193.5 kB / 0.6692 GB, free: 1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.159, allocations: 63.34 kB / 0.6692 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1591, allocations: 140.4 kB / 0.6694 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1592, allocations: 29.7 kB / 0.6694 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.1592, allocations: 107.9 kB / 0.6695 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.1593, allocations: 31.86 kB / 0.6695 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.1593, allocations: 25.7 kB / 0.6696 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1595, allocations: 326.8 kB / 0.6699 GB, free: 252 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.1597, allocations: 55.95 kB / 0.6699 GB, free: 196 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.1599, allocations: 59.95 kB / 0.67 GB, free: 136 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.1602, allocations: 142.5 kB / 0.6701 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.1602, allocations: 4 kB / 0.6701 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004603/0.1607, allocations: 199.2 kB / 0.6703 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.1608, allocations: 37.7 kB / 0.6703 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.1608, allocations: 0 / 0.6703 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1608, allocations: 0 / 0.6703 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1609, allocations: 23.97 kB / 0.6704 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1609, allocations: 480 / 0.6704 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.1611, allocations: 23.88 kB / 0.6704 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.1611, allocations: 3.938 kB / 0.6704 GB, free: 15.68 MB / 0.5137 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 0.0001073/0.1612, allocations: 133.8 kB / 0.6705 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.1612, allocations: 7.953 kB / 0.6705 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.1613, allocations: 16.72 kB / 0.6705 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.1613, allocations: 3.938 kB / 0.6705 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1613, allocations: 4 kB / 0.6706 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1613, allocations: 0 / 0.6706 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.1615, allocations: 197.5 kB / 0.6707 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1615, allocations: 0 / 0.6707 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.1616, allocations: 19.97 kB / 0.6708 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1616, allocations: 0 / 0.6708 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1616, allocations: 8 kB / 0.6708 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1616, allocations: 0 / 0.6708 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1616, allocations: 0 / 0.6708 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.1621, allocations: 192.8 kB / 0.671 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.1621, allocations: 85.06 kB / 0.671 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.1622, allocations: 4 kB / 0.671 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.1623, allocations: 15.97 kB / 0.6711 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.1624, allocations: 11.98 kB / 0.6711 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1624, allocations: 4 kB / 0.6711 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.898e-05/0.1625, allocations: 109.3 kB / 0.6712 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.226e-06/0.1625, allocations: 0 / 0.6712 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002232/0.1627, allocations: 47.86 kB / 0.6712 GB, free: 14.74 MB / 0.5137 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.0007962/0.1635, allocations: 0.7372 MB / 0.6719 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004635/0.164, allocations: 191.2 kB / 0.6721 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.164, allocations: 0 / 0.6721 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.1642, allocations: 63.95 kB / 0.6722 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.1644, allocations: 10.02 kB / 0.6722 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.1667, allocations: 1.711 MB / 0.6739 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.1671, allocations: 0.7013 MB / 0.6745 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.167e-05/0.1671, allocations: 19.77 kB / 0.6746 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.1672, allocations: 31.42 kB / 0.6746 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1672, allocations: 0 / 0.6746 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09313/0.2604, allocations: 2.743 MB / 0.6773 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.092, allocations: 3.25 kB / 0.6773 GB, free: 8.461 MB / 0.5137 GB (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)