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.005613/0.005613, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001368/0.001368, allocations: 196.8 kB / 16.67 MB, free: 5.926 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7432/0.7432, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 62.41 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1338, allocations: 80.21 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002557/0.1364, allocations: 1.531 MB / 0.6606 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.1374, allocations: 0.5804 MB / 0.6612 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.1375, allocations: 3.938 kB / 0.6612 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.492e-05/0.1376, allocations: 7.922 kB / 0.6612 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.1377, allocations: 19.8 kB / 0.6612 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.1381, allocations: 87.77 kB / 0.6613 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1382, allocations: 103.6 kB / 0.6614 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1384, allocations: 28.2 kB / 0.6615 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1385, allocations: 43.83 kB / 0.6615 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.664e-05/0.1386, allocations: 47.83 kB / 0.6615 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1386, allocations: 4 kB / 0.6615 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.1388, allocations: 91.84 kB / 0.6616 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.1389, allocations: 27.91 kB / 0.6617 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.1389, allocations: 43.67 kB / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1391, allocations: 138.4 kB / 0.6618 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1391, allocations: 0 / 0.6618 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1392, allocations: 0 / 0.6618 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.1392, allocations: 4 kB / 0.6618 GB, free: 8.027 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.0007787/0.14, allocations: 449.6 kB / 0.6623 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.14, allocations: 12.03 kB / 0.6623 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.14, allocations: 34.75 kB / 0.6623 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.1401, allocations: 16.75 kB / 0.6623 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.1403, allocations: 196.1 kB / 0.6625 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1403, allocations: 384 / 0.6625 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.1403, allocations: 4.375 kB / 0.6625 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.1406, allocations: 112.6 kB / 0.6626 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1406, allocations: 0 / 0.6626 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1407, allocations: 0 / 0.6626 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.1407, allocations: 15.94 kB / 0.6626 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.141, allocations: 87.91 kB / 0.6627 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.1416, allocations: 348.6 kB / 0.6631 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.142, allocations: 90.5 kB / 0.6631 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.1421, allocations: 60.88 kB / 0.6632 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.1422, allocations: 80 / 0.6632 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003664/0.1425, allocations: 123.2 kB / 0.6633 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.1426, allocations: 0 / 0.6633 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006479/0.1432, allocations: 201.4 kB / 0.6635 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1433, allocations: 55.41 kB / 0.6636 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1434, allocations: 144.2 kB / 0.6637 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1434, allocations: 29.7 kB / 0.6637 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.696e-05/0.1435, allocations: 99.98 kB / 0.6638 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.1435, allocations: 31.55 kB / 0.6639 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.1436, allocations: 25.7 kB / 0.6639 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1437, allocations: 326.8 kB / 0.6642 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.1439, allocations: 55.95 kB / 0.6642 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.1441, allocations: 63.95 kB / 0.6643 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.1445, allocations: 146.4 kB / 0.6644 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1445, allocations: 0 / 0.6644 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004597/0.1449, allocations: 203.2 kB / 0.6646 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.145, allocations: 33.7 kB / 0.6647 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.145, allocations: 0 / 0.6647 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.145, allocations: 0 / 0.6647 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.1452, allocations: 19.97 kB / 0.6647 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1452, allocations: 0 / 0.6647 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.1453, allocations: 19.92 kB / 0.6647 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.1454, allocations: 3.938 kB / 0.6647 GB, free: 4.824 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.861e-05/0.1455, allocations: 134.6 kB / 0.6648 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.1455, allocations: 7.906 kB / 0.6649 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.1455, allocations: 12.72 kB / 0.6649 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.1455, allocations: 0 / 0.6649 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1455, allocations: 4 kB / 0.6649 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1456, allocations: 0 / 0.6649 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.1457, allocations: 197.5 kB / 0.6651 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1457, allocations: 0 / 0.6651 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.1459, allocations: 19.97 kB / 0.6651 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1459, allocations: 4 kB / 0.6651 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.1459, allocations: 8 kB / 0.6651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1459, allocations: 0 / 0.6651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1459, allocations: 80 / 0.6651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.1463, allocations: 188.8 kB / 0.6653 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.1464, allocations: 88.95 kB / 0.6654 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1464, allocations: 4.188 kB / 0.6654 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.1465, allocations: 19.97 kB / 0.6654 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.1466, allocations: 15.92 kB / 0.6654 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1466, allocations: 4 kB / 0.6654 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.417e-05/0.1467, allocations: 116.9 kB / 0.6655 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1467, allocations: 0 / 0.6655 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002419/0.147, allocations: 32 kB / 0.6655 GB, free: 3.883 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.0007424/0.1477, allocations: 0.7372 MB / 0.6663 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000463/0.1482, allocations: 191.2 kB / 0.6664 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1482, allocations: 0 / 0.6664 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.1484, allocations: 63.95 kB / 0.6665 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.1486, allocations: 15.97 kB / 0.6665 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.1509, allocations: 1.708 MB / 0.6682 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.1511, allocations: 0.7041 MB / 0.6689 GB, free: 328 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.859e-05/0.1512, allocations: 19.77 kB / 0.6689 GB, free: 308 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.1513, allocations: 27.42 kB / 0.6689 GB, free: 280 kB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.1513, allocations: 0 / 0.6689 GB, free: 280 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.17, allocations: 2.791 MB / 0.6716 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/7.516, allocations: 9.969 kB / 0.6716 GB, free: 13.57 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)