Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_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.004976/0.004976, allocations: 98.91 kB / 15.73 MB, free: 6.016 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.001596/0.001596, allocations: 190 kB / 16.67 MB, free: 5.93 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7904/0.7904, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 68.05 kB / 0.5808 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1427, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002468/0.1452, allocations: 1.536 MB / 0.6607 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000947/0.1462, allocations: 0.5921 MB / 0.6612 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.1463, allocations: 0 / 0.6612 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.44e-05/0.1464, allocations: 11.88 kB / 0.6612 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.1464, allocations: 15.8 kB / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.1468, allocations: 87.77 kB / 0.6613 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.1469, allocations: 103.7 kB / 0.6614 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.147, allocations: 24.2 kB / 0.6615 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1472, allocations: 43.84 kB / 0.6615 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.553e-05/0.1473, allocations: 47.81 kB / 0.6616 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.1473, allocations: 8 kB / 0.6616 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.1474, allocations: 91.84 kB / 0.6617 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.1475, allocations: 23.86 kB / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.1476, allocations: 43.73 kB / 0.6617 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1478, allocations: 139.8 kB / 0.6618 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1478, allocations: 0 / 0.6618 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.186e-06/0.1478, allocations: 0 / 0.6618 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.1478, allocations: 3.938 kB / 0.6619 GB, free: 8.008 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.0007889/0.1486, allocations: 460.6 kB / 0.6623 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1486, allocations: 12.03 kB / 0.6623 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.1487, allocations: 30.75 kB / 0.6623 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.1487, allocations: 8.891 kB / 0.6623 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.1489, allocations: 198.6 kB / 0.6625 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1489, allocations: 4.375 kB / 0.6625 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.149, allocations: 4.375 kB / 0.6625 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.1493, allocations: 121.7 kB / 0.6627 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1493, allocations: 0 / 0.6627 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1493, allocations: 3.938 kB / 0.6627 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.1493, allocations: 4 kB / 0.6627 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.1496, allocations: 83.91 kB / 0.6627 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.1503, allocations: 344.7 kB / 0.6631 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.1506, allocations: 98.44 kB / 0.6632 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.1508, allocations: 56.88 kB / 0.6632 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.1508, allocations: 0 / 0.6632 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003158/0.1511, allocations: 115.3 kB / 0.6633 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.1511, allocations: 0 / 0.6633 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006451/0.1518, allocations: 201.5 kB / 0.6635 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.1518, allocations: 63.47 kB / 0.6636 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.152, allocations: 141.8 kB / 0.6637 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.152, allocations: 25.98 kB / 0.6637 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.1521, allocations: 100 kB / 0.6638 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.1521, allocations: 27.8 kB / 0.6639 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.1522, allocations: 33.64 kB / 0.6639 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1523, allocations: 326.8 kB / 0.6642 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.1525, allocations: 59.89 kB / 0.6643 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.1527, allocations: 55.95 kB / 0.6643 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.1531, allocations: 146.5 kB / 0.6645 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1531, allocations: 0 / 0.6645 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004576/0.1535, allocations: 199.3 kB / 0.6646 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.1536, allocations: 35.52 kB / 0.6647 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1536, allocations: 0 / 0.6647 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1536, allocations: 4 kB / 0.6647 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1538, allocations: 15.98 kB / 0.6647 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1538, allocations: 3.984 kB / 0.6647 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.1539, allocations: 27.88 kB / 0.6647 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.1539, allocations: 7.938 kB / 0.6647 GB, free: 4.793 MB / 0.4981 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.919e-05/0.154, allocations: 118.7 kB / 0.6649 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.1541, allocations: 11.94 kB / 0.6649 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.1541, allocations: 8.719 kB / 0.6649 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.1541, allocations: 4 kB / 0.6649 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1541, allocations: 0 / 0.6649 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1541, allocations: 0 / 0.6649 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.1543, allocations: 209.5 kB / 0.6651 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1543, allocations: 4 kB / 0.6651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.1544, allocations: 19.98 kB / 0.6651 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.1545, allocations: 3.984 kB / 0.6651 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1545, allocations: 3.938 kB / 0.6651 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1545, allocations: 0 / 0.6651 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1545, allocations: 4 kB / 0.6651 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.1549, allocations: 180.9 kB / 0.6653 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.155, allocations: 89.05 kB / 0.6654 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.155, allocations: 4 kB / 0.6654 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.1551, allocations: 12.17 kB / 0.6654 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.1552, allocations: 15.97 kB / 0.6654 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.1552, allocations: 11.88 kB / 0.6654 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.321e-05/0.1553, allocations: 109.4 kB / 0.6655 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.184e-06/0.1553, allocations: 0 / 0.6655 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002252/0.1555, allocations: 47.86 kB / 0.6656 GB, free: 3.852 MB / 0.4981 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.0007837/0.1563, allocations: 0.7333 MB / 0.6663 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004696/0.1568, allocations: 191.3 kB / 0.6665 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1568, allocations: 0 / 0.6665 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.157, allocations: 59.89 kB / 0.6665 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.1572, allocations: 14.52 kB / 0.6665 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.1595, allocations: 1.715 MB / 0.6682 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.1598, allocations: 0.7041 MB / 0.6689 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.837e-05/0.1599, allocations: 15.77 kB / 0.6689 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.16, allocations: 27.42 kB / 0.6689 GB, free: 252 kB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.16, allocations: 0 / 0.6689 GB, free: 252 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.1829, allocations: 2.742 MB / 0.6716 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.039, allocations: 4.062 kB / 0.6716 GB, free: 13.59 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)