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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 178.4 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.7893/0.7893, allocations: 133.6 MB / 141.6 MB, free: 2.91 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.618/1.618, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.0008976/0.0008976, allocations: 107.5 kB / 478.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.93e-05/1.934e-05, allocations: 0 / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5234/0.5234, allocations: 82.3 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.6822, allocations: 112.2 MB / 0.7435 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.6825, allocations: 75.95 kB / 0.7435 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01078/0.6933, allocations: 3.521 MB / 0.747 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6933, allocations: 0 / 0.747 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.6934, allocations: 3.938 kB / 0.747 GB, free: 7.004 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.0007302/0.6941, allocations: 447.8 kB / 0.7474 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.6942, allocations: 12.03 kB / 0.7474 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.6942, allocations: 7.906 kB / 0.7474 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.6945, allocations: 200.7 kB / 0.7476 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.6945, allocations: 0 / 0.7476 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.6945, allocations: 4 kB / 0.7476 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001311/0.6947, allocations: 44 kB / 0.7476 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.6948, allocations: 77.58 kB / 0.7477 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6948, allocations: 0 / 0.7477 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.6949, allocations: 0 / 0.7477 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6949, allocations: 4 kB / 0.7477 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.6955, allocations: 337.3 kB / 0.748 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.6956, allocations: 54.56 kB / 0.7481 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.262e-05/0.6957, allocations: 32.91 kB / 0.7481 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.6957, allocations: 0 / 0.7481 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.6959, allocations: 95.22 kB / 0.7482 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.6959, allocations: 0 / 0.7482 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0003175/0.6962, allocations: 109.5 kB / 0.7483 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.6963, allocations: 59.34 kB / 0.7484 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.6964, allocations: 118.7 kB / 0.7485 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.6965, allocations: 25.7 kB / 0.7485 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.6966, allocations: 108 kB / 0.7486 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.6966, allocations: 19.72 kB / 0.7486 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-06/0.6966, allocations: 0 / 0.7486 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6968, allocations: 326.9 kB / 0.749 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.6968, allocations: 35.92 kB / 0.749 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.123e-05/0.6969, allocations: 28 kB / 0.749 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.823e-05/0.697, allocations: 40.02 kB / 0.7491 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.697, allocations: 0 / 0.7491 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002223/0.6972, allocations: 117.7 kB / 0.7492 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.6973, allocations: 29.8 kB / 0.7492 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.6973, allocations: 7.938 kB / 0.7492 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.6973, allocations: 3.953 kB / 0.7492 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.6975, allocations: 27.92 kB / 0.7492 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.6975, allocations: 3.984 kB / 0.7492 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.6976, allocations: 27.83 kB / 0.7493 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.6977, allocations: 8 kB / 0.7493 GB, free: 4.43 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 8.236e-05/0.6978, allocations: 101 kB / 0.7494 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001925/0.698, allocations: 117.5 kB / 0.7495 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.698, allocations: 15.8 kB / 0.7495 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.6983, allocations: 118.3 kB / 0.7496 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.6983, allocations: 0 / 0.7496 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6983, allocations: 7.938 kB / 0.7496 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.6983, allocations: 3.984 kB / 0.7496 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.6984, allocations: 170.2 kB / 0.7498 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.6985, allocations: 4 kB / 0.7498 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.6986, allocations: 19.98 kB / 0.7498 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.6986, allocations: 4 kB / 0.7498 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.6986, allocations: 3.984 kB / 0.7498 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.6986, allocations: 3.953 kB / 0.7498 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6986, allocations: 0 / 0.7498 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.6989, allocations: 136.8 kB / 0.7499 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.6989, allocations: 85.02 kB / 0.75 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.6989, allocations: 4 kB / 0.75 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.6991, allocations: 23.92 kB / 0.7501 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/0.6992, allocations: 19.92 kB / 0.7501 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.6992, allocations: 0 / 0.7501 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.245e-05/0.6993, allocations: 105.2 kB / 0.7502 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6993, allocations: 0 / 0.7502 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002361/0.6995, allocations: 43.94 kB / 0.7502 GB, free: 3.367 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.0005777/0.7001, allocations: 0.6943 MB / 0.7509 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.7004, allocations: 161.1 kB / 0.751 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7004, allocations: 0 / 0.751 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.7005, allocations: 69.62 kB / 0.7511 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.7007, allocations: 18.36 kB / 0.7511 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.7012, allocations: 188 kB / 0.7513 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.7015, allocations: 0.7002 MB / 0.752 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.408e-05/0.7016, allocations: 7.984 kB / 0.752 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.7016, allocations: 31.42 kB / 0.752 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/0.7016, allocations: 4 kB / 0.752 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.7265, allocations: 2.1 MB / 0.7541 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.7267, allocations: 129.7 kB / 0.7542 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.312, allocations: 0 / 0.7542 GB, free: 15.12 MB / 0.5417 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/linux/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)