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: 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/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.00161, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7811/0.7811, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 404.7 MB, free: 6.055 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009329/0.0009329, allocations: 99.75 kB / 485.9 MB, free: 7.176 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 51.92 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1157, allocations: 80.43 MB / 0.6421 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003147/0.1189, allocations: 1.61 MB / 0.6437 GB, free: 3.816 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.12, allocations: 0.5806 MB / 0.6443 GB, free: 3.23 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.12, allocations: 4 kB / 0.6443 GB, free: 3.227 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.383e-05/0.1201, allocations: 7.922 kB / 0.6443 GB, free: 3.219 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.347e-05/0.1202, allocations: 11.88 kB / 0.6443 GB, free: 3.207 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.1205, allocations: 75.84 kB / 0.6444 GB, free: 3.133 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.1207, allocations: 95.64 kB / 0.6445 GB, free: 3.039 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1208, allocations: 24.22 kB / 0.6445 GB, free: 3.012 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.121, allocations: 39.84 kB / 0.6445 GB, free: 2.973 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.1211, allocations: 39.83 kB / 0.6446 GB, free: 2.934 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.1211, allocations: 4 kB / 0.6446 GB, free: 2.93 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.1212, allocations: 67.88 kB / 0.6446 GB, free: 2.863 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.1213, allocations: 15.92 kB / 0.6446 GB, free: 2.848 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.697e-05/0.1214, allocations: 35.8 kB / 0.6447 GB, free: 2.812 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.1216, allocations: 135.8 kB / 0.6448 GB, free: 2.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1216, allocations: 0 / 0.6448 GB, free: 2.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1216, allocations: 0 / 0.6448 GB, free: 2.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.1216, allocations: 7.938 kB / 0.6448 GB, free: 2.672 MB / 442.7 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.0007475/0.1224, allocations: 458.4 kB / 0.6452 GB, free: 2.172 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1224, allocations: 12.03 kB / 0.6453 GB, free: 2.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.1225, allocations: 8.844 kB / 0.6453 GB, free: 2.152 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.1226, allocations: 196.1 kB / 0.6455 GB, free: 1.922 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.1227, allocations: 4.375 kB / 0.6455 GB, free: 1.918 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1227, allocations: 8.375 kB / 0.6455 GB, free: 1.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.123, allocations: 105.9 kB / 0.6456 GB, free: 1.801 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.123, allocations: 3.938 kB / 0.6456 GB, free: 1.797 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.123, allocations: 4 kB / 0.6456 GB, free: 1.793 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.123, allocations: 4 kB / 0.6456 GB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.1233, allocations: 87.86 kB / 0.6457 GB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/0.1239, allocations: 352.6 kB / 0.646 GB, free: 1.309 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.1243, allocations: 90.45 kB / 0.6461 GB, free: 1.211 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.1244, allocations: 60.88 kB / 0.6461 GB, free: 1.148 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.1245, allocations: 4 kB / 0.6461 GB, free: 1.145 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003169/0.1248, allocations: 111.3 kB / 0.6463 GB, free: 1.023 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1248, allocations: 0 / 0.6463 GB, free: 1.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006268/0.1254, allocations: 213.4 kB / 0.6465 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.1255, allocations: 51.41 kB / 0.6465 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.743e-05/0.1256, allocations: 135.9 kB / 0.6466 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1256, allocations: 33.7 kB / 0.6467 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.1257, allocations: 100 kB / 0.6468 GB, free: 476 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.1257, allocations: 27.64 kB / 0.6468 GB, free: 448 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.1258, allocations: 33.77 kB / 0.6468 GB, free: 408 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.1259, allocations: 318.8 kB / 0.6471 GB, free: 80 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.1261, allocations: 59.94 kB / 0.6472 GB, free: 20 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.1263, allocations: 67.94 kB / 0.6472 GB, free: 15.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.1266, allocations: 138.5 kB / 0.6474 GB, free: 15.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1267, allocations: 0 / 0.6474 GB, free: 15.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004307/0.1271, allocations: 195.2 kB / 0.6476 GB, free: 15.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.1271, allocations: 37.69 kB / 0.6476 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1271, allocations: 0 / 0.6476 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1272, allocations: 0 / 0.6476 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.1273, allocations: 23.92 kB / 0.6476 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1273, allocations: 0 / 0.6476 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.1275, allocations: 27.81 kB / 0.6476 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.1275, allocations: 4.469 kB / 0.6477 GB, free: 15.51 MB / 458.7 MB 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.638e-05/0.1276, allocations: 121.8 kB / 0.6478 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.1276, allocations: 7.906 kB / 0.6478 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.1276, allocations: 20.64 kB / 0.6478 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.1277, allocations: 4 kB / 0.6478 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1277, allocations: 8 kB / 0.6478 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1277, allocations: 0 / 0.6478 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.1278, allocations: 193.5 kB / 0.648 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1279, allocations: 4 kB / 0.648 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.128, allocations: 19.92 kB / 0.648 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.128, allocations: 0 / 0.648 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.128, allocations: 11.97 kB / 0.648 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.128, allocations: 80 / 0.648 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.128, allocations: 7.922 kB / 0.648 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.1288, allocations: 0.7955 MB / 0.6488 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.1289, allocations: 85.02 kB / 0.6489 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.1289, allocations: 3.938 kB / 0.6489 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.129, allocations: 15.98 kB / 0.6489 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.1291, allocations: 19.97 kB / 0.6489 GB, free: 14.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.1291, allocations: 0 / 0.6489 GB, free: 14.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.68e-05/0.1292, allocations: 109.3 kB / 0.649 GB, free: 13.95 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1292, allocations: 0 / 0.649 GB, free: 13.95 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000344/0.1296, allocations: 39.91 kB / 0.6491 GB, free: 13.91 MB / 458.7 MB 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.0001588/0.1297, allocations: 111.2 kB / 0.6492 GB, free: 13.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004736/0.1302, allocations: 195.2 kB / 0.6494 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1302, allocations: 0 / 0.6494 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.1304, allocations: 59.95 kB / 0.6494 GB, free: 13.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.1306, allocations: 23.97 kB / 0.6494 GB, free: 13.51 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005964/0.1313, allocations: 376.2 kB / 0.6498 GB, free: 13.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1315, allocations: 0.7083 MB / 0.6505 GB, free: 12.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.376e-05/0.1316, allocations: 11.98 kB / 0.6505 GB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.1317, allocations: 15.61 kB / 0.6505 GB, free: 12.34 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1317, allocations: 0 / 0.6505 GB, free: 12.34 MB / 458.7 MB Notification: Performance of Templates: time 0.00357/0.1352, allocations: 1.319 MB / 0.6518 GB, free: 11.03 MB / 458.7 MB 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)