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.001283/0.001283, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001562/0.001562, allocations: 217.9 kB / 22.25 MB, free: 4.855 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 7.805 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.8149/0.8149, allocations: 134 MB / 446.4 MB, free: 9.957 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="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"}) [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.001997/0.001997, allocations: 66.08 kB / 0.6184 GB, free: 7.043 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1493, allocations: 85.91 MB / 0.7023 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.00259/0.1519, allocations: 1.546 MB / 0.7039 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.153, allocations: 0.6038 MB / 0.7044 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.1531, allocations: 3.938 kB / 0.7044 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.93e-05/0.1532, allocations: 11.92 kB / 0.7045 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.1532, allocations: 19.78 kB / 0.7045 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00042/0.1536, allocations: 107.7 kB / 0.7046 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.1538, allocations: 99.62 kB / 0.7047 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.607e-05/0.1539, allocations: 16.22 kB / 0.7047 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.1541, allocations: 55.84 kB / 0.7047 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.624e-05/0.1541, allocations: 47.75 kB / 0.7048 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.1542, allocations: 8 kB / 0.7048 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.1543, allocations: 87.91 kB / 0.7049 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.1544, allocations: 19.92 kB / 0.7049 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.1544, allocations: 31.86 kB / 0.7049 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.1547, allocations: 159.6 kB / 0.7051 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1547, allocations: 0 / 0.7051 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1547, allocations: 0 / 0.7051 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1547, allocations: 4 kB / 0.7051 GB, free: 14.39 MB / 0.5294 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.0007384/0.1554, allocations: 383.5 kB / 0.7055 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1554, allocations: 8.031 kB / 0.7055 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.1555, allocations: 42.73 kB / 0.7055 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000252/0.1557, allocations: 36.81 kB / 0.7055 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.156, allocations: 134.3 kB / 0.7057 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.156, allocations: 12.36 kB / 0.7057 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.156, allocations: 4.375 kB / 0.7057 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.1563, allocations: 105.7 kB / 0.7058 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1563, allocations: 0 / 0.7058 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1563, allocations: 0 / 0.7058 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.1563, allocations: 7.984 kB / 0.7058 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.1567, allocations: 87.92 kB / 0.7059 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006362/0.1573, allocations: 311.7 kB / 0.7062 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.1576, allocations: 86.45 kB / 0.7063 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.1578, allocations: 60.88 kB / 0.7063 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.1578, allocations: 0 / 0.7063 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002849/0.1581, allocations: 123.2 kB / 0.7064 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.1581, allocations: 0 / 0.7064 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.000637/0.1587, allocations: 205.5 kB / 0.7066 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.1587, allocations: 55.41 kB / 0.7067 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1589, allocations: 150.5 kB / 0.7068 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.1589, allocations: 29.7 kB / 0.7068 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.159, allocations: 104 kB / 0.7069 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.159, allocations: 23.81 kB / 0.707 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.1591, allocations: 29.7 kB / 0.707 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1592, allocations: 318.8 kB / 0.7073 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.1594, allocations: 85.66 kB / 0.7074 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.1596, allocations: 83.52 kB / 0.7075 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.1599, allocations: 146.5 kB / 0.7076 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1599, allocations: 0 / 0.7076 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004736/0.1604, allocations: 228.9 kB / 0.7078 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.1604, allocations: 40.03 kB / 0.7079 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1604, allocations: 0 / 0.7079 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1605, allocations: 4 kB / 0.7079 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.1606, allocations: 19.98 kB / 0.7079 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1606, allocations: 3.938 kB / 0.7079 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.1608, allocations: 31.84 kB / 0.7079 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.1608, allocations: 4 kB / 0.7079 GB, free: 11.25 MB / 0.5294 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.0001064/0.1609, allocations: 126.5 kB / 0.708 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.1609, allocations: 7.953 kB / 0.708 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.1609, allocations: 20.7 kB / 0.7081 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.161, allocations: 8 kB / 0.7081 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.161, allocations: 3.938 kB / 0.7081 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.161, allocations: 3.938 kB / 0.7081 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.1611, allocations: 156.7 kB / 0.7082 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1611, allocations: 0 / 0.7082 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.1612, allocations: 15.98 kB / 0.7082 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1612, allocations: 0 / 0.7082 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1613, allocations: 3.984 kB / 0.7083 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1613, allocations: 0 / 0.7083 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1613, allocations: 3.938 kB / 0.7083 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/0.1617, allocations: 188.9 kB / 0.7084 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.1617, allocations: 7.953 kB / 0.7084 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1617, allocations: 4 kB / 0.7084 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.1618, allocations: 15.97 kB / 0.7085 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.1619, allocations: 15.92 kB / 0.7085 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1619, allocations: 4 kB / 0.7085 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.783e-05/0.162, allocations: 108.9 kB / 0.7086 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.162, allocations: 4 kB / 0.7086 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002408/0.1622, allocations: 39.92 kB / 0.7086 GB, free: 10.46 MB / 0.5294 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.0007854/0.163, allocations: 0.7333 MB / 0.7093 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000467/0.1635, allocations: 209 kB / 0.7095 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1635, allocations: 0 / 0.7095 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.1637, allocations: 67.88 kB / 0.7096 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.1639, allocations: 12.06 kB / 0.7096 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.1663, allocations: 1.835 MB / 0.7114 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.064e-05/0.1664, allocations: 85.31 kB / 0.7115 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.535e-05/0.1664, allocations: 15.98 kB / 0.7115 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.1665, allocations: 31.42 kB / 0.7115 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.1665, allocations: 0 / 0.7115 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.1973, allocations: 3.392 MB / 0.7149 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.15, allocations: 5.875 kB / 0.7149 GB, free: 4.043 MB / 0.5294 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.503249249886721] Failed to read output from testmodel.py, exit status != 0: 11.252718455158174 11.270335304 11.112399576 Calling exit ...