Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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.001333/0.001333, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001453/0.001453, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2318/0.2318, allocations: 44.91 MB / 359.6 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest 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.002149/0.002149, allocations: 63.89 kB / 0.4939 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.335, allocations: 65.46 MB / 0.5578 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5981/0.9331, allocations: 185.6 MB / 0.739 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.9353, allocations: 0.8957 MB / 0.7399 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005363/0.9358, allocations: 16.19 kB / 0.7399 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.9369, allocations: 213.5 kB / 0.7401 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.9381, allocations: 295.9 kB / 0.7404 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00724/0.9454, allocations: 1.963 MB / 0.7423 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001779/0.9471, allocations: 0.9963 MB / 0.7433 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004456/0.9476, allocations: 282.8 kB / 0.7435 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003524/0.9511, allocations: 1.598 MB / 0.7451 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006556/0.9518, allocations: 341.3 kB / 0.7454 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.99e-05/0.9518, allocations: 46.59 kB / 0.7455 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004899/0.9567, allocations: 2.896 MB / 0.7483 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.957, allocations: 205.5 kB / 0.7485 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000352/0.9574, allocations: 267.9 kB / 0.7487 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00389/0.9612, allocations: 2.062 MB / 0.7508 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9612, allocations: 0 / 0.7508 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9612, allocations: 0 / 0.7508 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.9613, allocations: 0.9062 kB / 0.7508 GB, free: 1.578 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002375/0.9636, allocations: 1.008 MB / 0.7517 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.9637, allocations: 8.531 kB / 0.7518 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.151e-05/0.9637, allocations: 9.031 kB / 0.7518 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.279e-05/0.9638, allocations: 80.75 kB / 0.7518 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.9641, allocations: 56.56 kB / 0.7519 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005447/0.9646, allocations: 319.5 kB / 0.7522 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.9646, allocations: 32.75 kB / 0.7522 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.9647, allocations: 37.62 kB / 0.7523 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008195/0.9655, allocations: 0.5134 MB / 0.7528 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.9655, allocations: 4.094 kB / 0.7528 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.066e-05/0.9656, allocations: 16.75 kB / 0.7528 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.9656, allocations: 16.48 kB / 0.7528 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008019/0.9664, allocations: 0.4903 MB / 0.7533 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.969, allocations: 1.938 MB / 0.7552 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/0.9696, allocations: 365.7 kB / 0.7555 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.9699, allocations: 167.2 kB / 0.7557 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004422/0.9703, allocations: 131 kB / 0.7558 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/0.9704, allocations: 37.59 kB / 0.7558 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 2.414e-06/0.9704, allocations: 0.9375 kB / 0.7558 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001126/0.9715, allocations: 0.502 MB / 0.7563 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.9716, allocations: 106.7 kB / 0.7564 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/0.972, allocations: 410.4 kB / 0.7568 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/0.9721, allocations: 33.89 kB / 0.7569 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.9722, allocations: 214.8 kB / 0.7571 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/0.9723, allocations: 115.9 kB / 0.7572 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.9725, allocations: 77.55 kB / 0.7572 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.9726, allocations: 349.2 kB / 0.7576 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.9729, allocations: 149.9 kB / 0.7577 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.9733, allocations: 257.5 kB / 0.758 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000682/0.974, allocations: 482.3 kB / 0.7584 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.974, allocations: 0.9375 kB / 0.7584 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009756/0.9749, allocations: 0.5545 MB / 0.759 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.129e-05/0.975, allocations: 61.25 kB / 0.759 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.975, allocations: 5.031 kB / 0.759 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.975, allocations: 9.219 kB / 0.759 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.9754, allocations: 88.73 kB / 0.7591 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.9754, allocations: 8 kB / 0.7591 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.9758, allocations: 55.62 kB / 0.7592 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.9758, allocations: 22.88 kB / 0.7592 GB, free: 13.93 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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.0002703/0.9761, allocations: 183.6 kB / 0.7594 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.9762, allocations: 44.52 kB / 0.7594 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009076/0.9771, allocations: 492.2 kB / 0.7599 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.9772, allocations: 3.594 kB / 0.7599 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.9772, allocations: 6.281 kB / 0.7599 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.9772, allocations: 2.953 kB / 0.7599 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.9795, allocations: 1.361 MB / 0.7612 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.9795, allocations: 2.953 kB / 0.7612 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.9798, allocations: 67.05 kB / 0.7613 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.9798, allocations: 3.781 kB / 0.7613 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.9798, allocations: 8.438 kB / 0.7613 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.9798, allocations: 2.406 kB / 0.7613 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.9798, allocations: 5.625 kB / 0.7613 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008647/0.9807, allocations: 0.6401 MB / 0.7619 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.9808, allocations: 55.27 kB / 0.762 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.794e-05/0.9808, allocations: 11.44 kB / 0.762 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.9813, allocations: 21.62 kB / 0.762 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.9813, allocations: 34.98 kB / 0.7621 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/0.9814, allocations: 27.34 kB / 0.7621 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004026/0.9818, allocations: 363 kB / 0.7624 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9818, allocations: 0.8438 kB / 0.7624 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001155/0.9829, allocations: 351.7 kB / 0.7628 GB, free: 12.63 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002149/0.9851, allocations: 1.576 MB / 0.7643 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007871/0.9859, allocations: 463.1 kB / 0.7648 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.9859, allocations: 6.969 kB / 0.7648 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.9861, allocations: 157.1 kB / 0.7649 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.9876, allocations: 285 kB / 0.7652 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006135/0.9937, allocations: 4.592 MB / 0.7697 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.9942, allocations: 0.8359 MB / 0.7705 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004746/0.9947, allocations: 124.3 kB / 0.7706 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.9949, allocations: 146.1 kB / 0.7707 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/0.9949, allocations: 1.125 kB / 0.7707 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04887/1.044, allocations: 20.17 MB / 0.7904 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.55, allocations: 6.469 kB / 0.7904 GB, free: 3.117 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.640145828016102] Failed to read output from testmodel.py, exit status != 0: ['time', 'traceSubstance.C', 'traceSubstance1.C'] 13.72444760898361 13.748850416 12.782486428 Calling exit ...