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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009542/0.0009541, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7458/0.7458, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.5 MB / 395.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009763/0.0009761, allocations: 102.9 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.914e-05/1.91e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4823, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.6356, allocations: 112.2 MB / 0.7435 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.6359, allocations: 71.95 kB / 0.7435 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01025/0.6462, allocations: 3.517 MB / 0.747 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6462, allocations: 8 kB / 0.747 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.6462, allocations: 4 kB / 0.747 GB, free: 6.887 MB / 0.5261 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.0006496/0.6469, allocations: 439.9 kB / 0.7474 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.6469, allocations: 12.03 kB / 0.7474 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.647, allocations: 7.906 kB / 0.7474 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.6472, allocations: 212.6 kB / 0.7476 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.6472, allocations: 0 / 0.7476 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.6473, allocations: 4 kB / 0.7476 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000122/0.6474, allocations: 39.98 kB / 0.7477 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.6475, allocations: 69.66 kB / 0.7477 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.6476, allocations: 0 / 0.7477 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.6476, allocations: 0 / 0.7477 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.6476, allocations: 4 kB / 0.7477 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.6482, allocations: 341.3 kB / 0.748 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.6483, allocations: 50.56 kB / 0.7481 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.953e-05/0.6484, allocations: 40.89 kB / 0.7481 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.6484, allocations: 8.062 kB / 0.7481 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.6486, allocations: 95.2 kB / 0.7482 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.6486, allocations: 0 / 0.7482 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002755/0.6489, allocations: 101.5 kB / 0.7483 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.6489, allocations: 55.41 kB / 0.7484 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.649, allocations: 122.9 kB / 0.7485 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.6491, allocations: 25.7 kB / 0.7485 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.6491, allocations: 108 kB / 0.7486 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.6492, allocations: 23.7 kB / 0.7487 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.6492, allocations: 112 / 0.7487 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6493, allocations: 322.8 kB / 0.749 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/0.6494, allocations: 39.86 kB / 0.749 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.516e-05/0.6494, allocations: 35.98 kB / 0.749 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.069e-05/0.6495, allocations: 32.03 kB / 0.7491 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6495, allocations: 0 / 0.7491 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002165/0.6498, allocations: 117.6 kB / 0.7492 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.6498, allocations: 33.7 kB / 0.7492 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.6498, allocations: 8 kB / 0.7492 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6498, allocations: 3.953 kB / 0.7492 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.65, allocations: 23.97 kB / 0.7492 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.65, allocations: 3.938 kB / 0.7492 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.6502, allocations: 27.83 kB / 0.7493 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.6502, allocations: 4 kB / 0.7493 GB, free: 4.312 MB / 0.5261 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.714e-05/0.6503, allocations: 105 kB / 0.7494 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001863/0.6505, allocations: 109.7 kB / 0.7495 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.6505, allocations: 15.8 kB / 0.7495 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.6507, allocations: 114.3 kB / 0.7496 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.6507, allocations: 0 / 0.7496 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6508, allocations: 4 kB / 0.7496 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.6508, allocations: 0 / 0.7496 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.6509, allocations: 174.2 kB / 0.7498 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.6509, allocations: 4 kB / 0.7498 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.6511, allocations: 27.92 kB / 0.7498 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.6511, allocations: 0 / 0.7498 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.6511, allocations: 7.984 kB / 0.7498 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6511, allocations: 4.031 kB / 0.7498 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6511, allocations: 3.984 kB / 0.7498 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.6513, allocations: 145 kB / 0.75 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.6514, allocations: 85.02 kB / 0.75 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.6514, allocations: 0 / 0.75 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.6516, allocations: 15.98 kB / 0.7501 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.6516, allocations: 15.92 kB / 0.7501 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.6517, allocations: 8 kB / 0.7501 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.151e-05/0.6517, allocations: 108.9 kB / 0.7502 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6517, allocations: 4 kB / 0.7502 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002617/0.652, allocations: 39.94 kB / 0.7502 GB, free: 3.246 MB / 0.5261 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005492/0.6526, allocations: 0.6904 MB / 0.7509 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.6528, allocations: 161.1 kB / 0.7511 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6528, allocations: 4 kB / 0.7511 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.751e-05/0.6529, allocations: 73.62 kB / 0.7511 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.6531, allocations: 11.95 kB / 0.7511 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.6536, allocations: 177.9 kB / 0.7513 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.6539, allocations: 0.7041 MB / 0.752 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.952e-05/0.654, allocations: 15.98 kB / 0.752 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.654, allocations: 27.42 kB / 0.752 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.6541, allocations: 0 / 0.752 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.6749, allocations: 2.101 MB / 0.7541 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.6752, allocations: 125.3 kB / 0.7542 GB, free: 15 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.255, allocations: 0 / 0.7542 GB, free: 15 MB / 0.5417 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/linux/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)