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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 125 kB / 17.17 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 210.3 kB / 20.13 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.388/1.388, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8075/0.8075, allocations: 133.9 MB / 443.5 MB, free: 14.16 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 65.88 kB / 0.6141 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1344, allocations: 85.87 MB / 0.6979 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002601/0.137, allocations: 1.567 MB / 0.6994 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1381, allocations: 0.6498 MB / 0.7001 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.1382, allocations: 1.531 kB / 0.7001 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.1383, allocations: 7.875 kB / 0.7001 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.151e-05/0.1384, allocations: 18.8 kB / 0.7001 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.1388, allocations: 106.9 kB / 0.7002 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.1389, allocations: 102.3 kB / 0.7003 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1391, allocations: 19.78 kB / 0.7003 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.1392, allocations: 56.66 kB / 0.7004 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.1393, allocations: 45.53 kB / 0.7004 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1393, allocations: 6.688 kB / 0.7004 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.1395, allocations: 93.28 kB / 0.7005 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.1395, allocations: 20.05 kB / 0.7005 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.1396, allocations: 44.84 kB / 0.7006 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1398, allocations: 155.7 kB / 0.7007 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1398, allocations: 0 / 0.7007 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1398, allocations: 4 kB / 0.7007 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1398, allocations: 0 / 0.7007 GB, free: 11.45 MB / 0.5137 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.0007983/0.1406, allocations: 462 kB / 0.7012 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1406, allocations: 11.3 kB / 0.7012 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.226e-05/0.1407, allocations: 1.562 kB / 0.7012 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.1407, allocations: 33.5 kB / 0.7012 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.141, allocations: 38.69 kB / 0.7012 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1412, allocations: 211.1 kB / 0.7015 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1412, allocations: 1.75 kB / 0.7015 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.1413, allocations: 4.5 kB / 0.7015 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.1416, allocations: 106.7 kB / 0.7016 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1416, allocations: 1.375 kB / 0.7016 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1416, allocations: 0 / 0.7016 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.1416, allocations: 8.125 kB / 0.7016 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.1419, allocations: 89.41 kB / 0.7017 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006443/0.1426, allocations: 340.8 kB / 0.702 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.1429, allocations: 93.12 kB / 0.7021 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.1431, allocations: 61.75 kB / 0.7021 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.1431, allocations: 1.375 kB / 0.7021 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.1434, allocations: 124.5 kB / 0.7022 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.1434, allocations: 1.375 kB / 0.7022 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006607/0.144, allocations: 206.2 kB / 0.7024 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.1441, allocations: 52.88 kB / 0.7025 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1442, allocations: 143.3 kB / 0.7026 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1442, allocations: 30.73 kB / 0.7027 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.1443, allocations: 104.2 kB / 0.7028 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.1443, allocations: 32.05 kB / 0.7028 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/0.1444, allocations: 25.11 kB / 0.7028 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1445, allocations: 325.7 kB / 0.7031 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.1447, allocations: 56.48 kB / 0.7032 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.1449, allocations: 61.05 kB / 0.7032 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.1453, allocations: 148.8 kB / 0.7034 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1453, allocations: 0 / 0.7034 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000473/0.1457, allocations: 206.2 kB / 0.7036 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.1458, allocations: 32.86 kB / 0.7036 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1458, allocations: 0 / 0.7036 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1458, allocations: 0 / 0.7036 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.1459, allocations: 16.7 kB / 0.7036 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1459, allocations: 9.047 kB / 0.7036 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.1461, allocations: 23.84 kB / 0.7037 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.1461, allocations: 80 / 0.7037 GB, free: 8.926 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 0.0001149/0.1462, allocations: 134.4 kB / 0.7038 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.1462, allocations: 7.953 kB / 0.7038 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.1463, allocations: 12.72 kB / 0.7038 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.1463, allocations: 4 kB / 0.7038 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1463, allocations: 3.938 kB / 0.7038 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1463, allocations: 0 / 0.7038 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.1465, allocations: 193.6 kB / 0.704 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1465, allocations: 0 / 0.704 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1466, allocations: 19.97 kB / 0.704 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.1466, allocations: 8 kB / 0.704 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1466, allocations: 0 / 0.704 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1466, allocations: 3.984 kB / 0.704 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1466, allocations: 7.922 kB / 0.704 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.1471, allocations: 188.8 kB / 0.7042 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.1471, allocations: 85.06 kB / 0.7043 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.1472, allocations: 4 kB / 0.7043 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.1473, allocations: 19.97 kB / 0.7043 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.1473, allocations: 16.11 kB / 0.7043 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1473, allocations: 0 / 0.7043 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.538e-05/0.1474, allocations: 115.2 kB / 0.7044 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1474, allocations: 0 / 0.7044 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002445/0.1477, allocations: 39.94 kB / 0.7045 GB, free: 7.977 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.0008157/0.1485, allocations: 0.7295 MB / 0.7052 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004802/0.149, allocations: 191.2 kB / 0.7054 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.149, allocations: 0 / 0.7054 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.1492, allocations: 59.94 kB / 0.7054 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.1494, allocations: 9.406 kB / 0.7054 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.1518, allocations: 1.726 MB / 0.7071 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1521, allocations: 0.7002 MB / 0.7078 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.312e-05/0.1522, allocations: 15.98 kB / 0.7078 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/0.1522, allocations: 31.42 kB / 0.7079 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1522, allocations: 0 / 0.7079 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.1708, allocations: 2.854 MB / 0.7106 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.21, allocations: 7.922 kB / 0.7106 GB, free: 1.625 MB / 0.5137 GB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.697266524017323] Failed to read output from testmodel.py, exit status != 0: 8.587188184028491 8.357718383 8.215102353 Calling exit ...