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: translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 106.7 kB / 16.41 MB, free: 6.473 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.001279/0.001279, allocations: 187 kB / 17.34 MB, free: 5.754 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.212/1.212, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7411/0.7411, allocations: 135.1 MB / 426.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 66.52 kB / 0.5862 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1277, allocations: 80.92 MB / 0.6653 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002479/0.1302, allocations: 1.551 MB / 0.6668 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.1312, allocations: 0.5726 MB / 0.6673 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.1313, allocations: 7.938 kB / 0.6673 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.972e-05/0.1314, allocations: 11.92 kB / 0.6673 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.265e-05/0.1315, allocations: 15.8 kB / 0.6674 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.1319, allocations: 91.77 kB / 0.6675 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.1321, allocations: 99.62 kB / 0.6675 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1322, allocations: 20.23 kB / 0.6676 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1323, allocations: 47.83 kB / 0.6676 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.729e-05/0.1324, allocations: 43.83 kB / 0.6677 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.1324, allocations: 8 kB / 0.6677 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1326, allocations: 87.91 kB / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.1326, allocations: 23.86 kB / 0.6678 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/0.1327, allocations: 47.72 kB / 0.6678 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.1329, allocations: 139.5 kB / 0.6679 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1329, allocations: 0 / 0.6679 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1329, allocations: 0 / 0.6679 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.133, allocations: 0 / 0.6679 GB, free: 3.098 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.0007325/0.1337, allocations: 448.8 kB / 0.6684 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1337, allocations: 9.109 kB / 0.6684 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.1338, allocations: 12.84 kB / 0.6684 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.134, allocations: 202.1 kB / 0.6686 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.134, allocations: 384 / 0.6686 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.134, allocations: 12.36 kB / 0.6686 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.1343, allocations: 105.9 kB / 0.6687 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1343, allocations: 0 / 0.6687 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1343, allocations: 0 / 0.6687 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.1344, allocations: 4 kB / 0.6687 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.1347, allocations: 91.86 kB / 0.6688 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.1353, allocations: 352.6 kB / 0.6691 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.1356, allocations: 86.52 kB / 0.6692 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.1357, allocations: 60.88 kB / 0.6693 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.1358, allocations: 0 / 0.6693 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003174/0.1361, allocations: 119.2 kB / 0.6694 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.1361, allocations: 0 / 0.6694 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005983/0.1367, allocations: 213.5 kB / 0.6696 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.1367, allocations: 55.41 kB / 0.6696 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1369, allocations: 133.8 kB / 0.6698 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1369, allocations: 29.7 kB / 0.6698 GB, free: 1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.1369, allocations: 108 kB / 0.6699 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.137, allocations: 23.7 kB / 0.6699 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.137, allocations: 25.7 kB / 0.6699 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.1371, allocations: 322.8 kB / 0.6703 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.1373, allocations: 59.94 kB / 0.6703 GB, free: 464 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.1375, allocations: 55.95 kB / 0.6704 GB, free: 408 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.1378, allocations: 142.5 kB / 0.6705 GB, free: 256 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1378, allocations: 0 / 0.6705 GB, free: 256 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004297/0.1383, allocations: 211.1 kB / 0.6707 GB, free: 32 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.1383, allocations: 37.75 kB / 0.6707 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1383, allocations: 0 / 0.6707 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1383, allocations: 4 kB / 0.6707 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.1385, allocations: 15.98 kB / 0.6708 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1385, allocations: 0 / 0.6708 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.1386, allocations: 23.91 kB / 0.6708 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.1387, allocations: 0 / 0.6708 GB, free: 15.94 MB / 0.5137 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.452e-05/0.1387, allocations: 133.6 kB / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.1388, allocations: 11.89 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.1388, allocations: 16.7 kB / 0.6709 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.1388, allocations: 4 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1388, allocations: 4 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1388, allocations: 4 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.139, allocations: 197.5 kB / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.139, allocations: 480 / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.1391, allocations: 15.98 kB / 0.6711 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1391, allocations: 0 / 0.6711 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.1392, allocations: 11.98 kB / 0.6712 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1392, allocations: 0 / 0.6712 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1392, allocations: 7.938 kB / 0.6712 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.1396, allocations: 180.8 kB / 0.6713 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.1396, allocations: 85.02 kB / 0.6714 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.1396, allocations: 0 / 0.6714 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1398, allocations: 19.98 kB / 0.6714 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.1398, allocations: 7.984 kB / 0.6714 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1399, allocations: 7.984 kB / 0.6715 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.525e-05/0.1399, allocations: 109.8 kB / 0.6716 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/0.1399, allocations: 0 / 0.6716 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002335/0.1402, allocations: 43.86 kB / 0.6716 GB, free: 15.01 MB / 0.5137 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.0001593/0.1403, allocations: 120.5 kB / 0.6717 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004393/0.1408, allocations: 191.2 kB / 0.6719 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1408, allocations: 0 / 0.6719 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.141, allocations: 59.94 kB / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.1412, allocations: 8 kB / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.1417, allocations: 265.6 kB / 0.6722 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.1419, allocations: 0.7002 MB / 0.6729 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.142, allocations: 15.42 kB / 0.6729 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.142, allocations: 0 / 0.6729 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of Templates: time 0.003/0.145, allocations: 1.523 MB / 0.6744 GB, free: 12.06 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile (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 & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)