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.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001288/0.001288, allocations: 196.7 kB / 16.14 MB, free: 6.695 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.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8503/0.8503, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 60.25 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1392, allocations: 80.93 MB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002319/0.1415, allocations: 1.602 MB / 0.5854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000833/0.1424, allocations: 0.5845 MB / 0.5859 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.1424, allocations: 4 kB / 0.5859 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.729e-05/0.1425, allocations: 3.938 kB / 0.5859 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.69e-05/0.1426, allocations: 15.86 kB / 0.586 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.1428, allocations: 71.86 kB / 0.586 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.1429, allocations: 91.64 kB / 0.5861 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.936e-05/0.143, allocations: 24.2 kB / 0.5861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.427e-05/0.1431, allocations: 35.91 kB / 0.5862 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.491e-05/0.1432, allocations: 47.75 kB / 0.5862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.1433, allocations: 4 kB / 0.5862 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.1434, allocations: 59.91 kB / 0.5863 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.1434, allocations: 15.92 kB / 0.5863 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.1435, allocations: 35.78 kB / 0.5863 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.1436, allocations: 131.8 kB / 0.5865 GB, free: 2.156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1436, allocations: 4 kB / 0.5865 GB, free: 2.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1436, allocations: 0 / 0.5865 GB, free: 2.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1437, allocations: 0 / 0.5865 GB, free: 2.152 MB / 494.1 MB 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.000711/0.1444, allocations: 463 kB / 0.5869 GB, free: 1.648 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1444, allocations: 12.03 kB / 0.5869 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.1445, allocations: 46.67 kB / 0.587 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.1445, allocations: 8.844 kB / 0.587 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.1447, allocations: 196.1 kB / 0.5871 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1447, allocations: 4.375 kB / 0.5872 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.1447, allocations: 4.375 kB / 0.5872 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.145, allocations: 101.8 kB / 0.5873 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.145, allocations: 0 / 0.5873 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.145, allocations: 11.92 kB / 0.5873 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.145, allocations: 4 kB / 0.5873 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.1454, allocations: 91.86 kB / 0.5874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.1459, allocations: 344.7 kB / 0.5877 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.1463, allocations: 94.45 kB / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.1464, allocations: 60.88 kB / 0.5878 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.1465, allocations: 0 / 0.5878 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.1467, allocations: 115.3 kB / 0.5879 GB, free: 460 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1468, allocations: 4 kB / 0.5879 GB, free: 456 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005958/0.1474, allocations: 209.3 kB / 0.5881 GB, free: 240 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.1474, allocations: 51.41 kB / 0.5882 GB, free: 176 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/0.1475, allocations: 140.2 kB / 0.5883 GB, free: 28 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.1475, allocations: 25.7 kB / 0.5884 GB, free: 16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.1476, allocations: 112 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.1476, allocations: 27.77 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.1477, allocations: 21.72 kB / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1478, allocations: 326.8 kB / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.148, allocations: 55.95 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.1481, allocations: 55.95 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.1485, allocations: 150.4 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1485, allocations: 0 / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000422/0.1489, allocations: 195.2 kB / 0.5893 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.149, allocations: 33.7 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.149, allocations: 7.984 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.149, allocations: 4 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.1491, allocations: 23.91 kB / 0.5893 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1491, allocations: 0 / 0.5893 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.1493, allocations: 19.83 kB / 0.5893 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.1493, allocations: 11.92 kB / 0.5894 GB, free: 14.93 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.708e-05/0.1494, allocations: 117.8 kB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.1494, allocations: 11.91 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.1495, allocations: 16.7 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.1495, allocations: 4 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1495, allocations: 0 / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1495, allocations: 0 / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.1496, allocations: 202 kB / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1497, allocations: 0 / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.1498, allocations: 15.98 kB / 0.5897 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1498, allocations: 0 / 0.5897 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.1498, allocations: 0 / 0.5897 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1498, allocations: 12.02 kB / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1498, allocations: 3.984 kB / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.1502, allocations: 188.8 kB / 0.5899 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.1503, allocations: 85 kB / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.1503, allocations: 4 kB / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.1504, allocations: 15.98 kB / 0.59 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.1505, allocations: 11.98 kB / 0.59 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1505, allocations: 7.984 kB / 0.59 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.492e-05/0.1506, allocations: 107.2 kB / 0.5901 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.202e-06/0.1506, allocations: 0 / 0.5901 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002226/0.1508, allocations: 47.84 kB / 0.5902 GB, free: 13.99 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.0006747/0.1515, allocations: 0.7333 MB / 0.5909 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004149/0.1519, allocations: 183.2 kB / 0.5911 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1519, allocations: 4 kB / 0.5911 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.1521, allocations: 67.88 kB / 0.5911 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.1523, allocations: 11.94 kB / 0.5911 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.1544, allocations: 1.727 MB / 0.5928 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.1546, allocations: 0.7004 MB / 0.5935 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.086e-05/0.1547, allocations: 19.91 kB / 0.5935 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.1548, allocations: 23.44 kB / 0.5935 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1548, allocations: 0 / 0.5935 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4274/0.5821, allocations: 2.476 MB / 0.596 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/0.5824, allocations: 197.7 kB / 0.5962 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.2, allocations: 0 / 0.5962 GB, free: 7.75 MB / 0.4981 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)