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.005873/0.005874, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001406/0.001406, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7525/0.7525, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 70.22 kB / 0.5808 GB, free: 24.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1349, allocations: 80.21 MB / 0.6591 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002206/0.1372, allocations: 1.541 MB / 0.6607 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008488/0.138, allocations: 0.5804 MB / 0.6612 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.883e-05/0.1381, allocations: 0 / 0.6612 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.579e-05/0.1382, allocations: 11.86 kB / 0.6612 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.663e-05/0.1383, allocations: 11.88 kB / 0.6612 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.1386, allocations: 99.69 kB / 0.6613 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.1388, allocations: 107.7 kB / 0.6614 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1389, allocations: 16.22 kB / 0.6615 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.981e-05/0.139, allocations: 39.84 kB / 0.6615 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.836e-05/0.1391, allocations: 55.81 kB / 0.6615 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1391, allocations: 8 kB / 0.6616 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1392, allocations: 87.84 kB / 0.6616 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.1393, allocations: 19.92 kB / 0.6617 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.1393, allocations: 39.73 kB / 0.6617 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.1395, allocations: 147 kB / 0.6618 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1395, allocations: 0 / 0.6618 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1396, allocations: 0 / 0.6618 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1396, allocations: 0 / 0.6618 GB, free: 8.031 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.0007117/0.1403, allocations: 453.1 kB / 0.6623 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1403, allocations: 8.031 kB / 0.6623 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.1404, allocations: 46.67 kB / 0.6623 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.1404, allocations: 12.75 kB / 0.6623 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.1406, allocations: 188.2 kB / 0.6625 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1406, allocations: 4.375 kB / 0.6625 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1406, allocations: 4.375 kB / 0.6625 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.1409, allocations: 110.9 kB / 0.6626 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1409, allocations: 0 / 0.6626 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1409, allocations: 3.938 kB / 0.6626 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.1409, allocations: 7.938 kB / 0.6626 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.1412, allocations: 95.84 kB / 0.6627 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.1418, allocations: 348.6 kB / 0.6631 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.1421, allocations: 94.44 kB / 0.6632 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.1423, allocations: 56.88 kB / 0.6632 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.1423, allocations: 4 kB / 0.6632 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.1426, allocations: 111.3 kB / 0.6633 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.1426, allocations: 0 / 0.6633 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005754/0.1432, allocations: 209.4 kB / 0.6635 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.1432, allocations: 55.39 kB / 0.6636 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.1433, allocations: 135.9 kB / 0.6637 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1433, allocations: 29.7 kB / 0.6637 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.1434, allocations: 108 kB / 0.6638 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.1434, allocations: 27.61 kB / 0.6639 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.1435, allocations: 25.7 kB / 0.6639 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.226e-05/0.1436, allocations: 322.8 kB / 0.6642 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.1437, allocations: 59.95 kB / 0.6642 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.1439, allocations: 59.89 kB / 0.6643 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.1442, allocations: 143.2 kB / 0.6644 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1442, allocations: 0 / 0.6644 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004017/0.1446, allocations: 200.9 kB / 0.6646 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.1447, allocations: 33.7 kB / 0.6647 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1447, allocations: 0 / 0.6647 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1447, allocations: 0 / 0.6647 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1448, allocations: 27.91 kB / 0.6647 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1449, allocations: 0 / 0.6647 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.145, allocations: 23.92 kB / 0.6647 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.145, allocations: 4.406 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 8.164e-05/0.1451, allocations: 122.7 kB / 0.6648 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.1451, allocations: 7.906 kB / 0.6648 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.1452, allocations: 20.66 kB / 0.6649 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.1452, allocations: 4 kB / 0.6649 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1452, allocations: 4 kB / 0.6649 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1452, allocations: 3.984 kB / 0.6649 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.1454, allocations: 197.5 kB / 0.6651 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1454, allocations: 8 kB / 0.6651 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.1455, allocations: 15.97 kB / 0.6651 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1455, allocations: 4 kB / 0.6651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1455, allocations: 0 / 0.6651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1455, allocations: 0 / 0.6651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1455, allocations: 0 / 0.6651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.1459, allocations: 188.8 kB / 0.6653 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.1459, allocations: 88.95 kB / 0.6654 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.146, allocations: 0 / 0.6654 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1461, allocations: 15.97 kB / 0.6654 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.1462, allocations: 15.98 kB / 0.6654 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.1462, allocations: 0 / 0.6654 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.994e-05/0.1463, allocations: 112.9 kB / 0.6655 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1463, allocations: 0 / 0.6655 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002301/0.1465, allocations: 40 kB / 0.6655 GB, free: 3.891 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.0006891/0.1472, allocations: 0.7372 MB / 0.6662 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004078/0.1476, allocations: 187.2 kB / 0.6664 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1476, allocations: 192 / 0.6664 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.1478, allocations: 67.89 kB / 0.6665 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.148, allocations: 17.33 kB / 0.6665 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.1501, allocations: 1.706 MB / 0.6682 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.1503, allocations: 0.7079 MB / 0.6689 GB, free: 332 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.079e-05/0.1504, allocations: 15.77 kB / 0.6689 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.1505, allocations: 31.42 kB / 0.6689 GB, free: 284 kB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1505, allocations: 0 / 0.6689 GB, free: 284 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.1689, allocations: 2.796 MB / 0.6716 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.151/7.32, allocations: 4 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)