Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001767/0.001767, allocations: 105.1 kB / 21.21 MB, free: 0.6484 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.002153/0.002153, allocations: 212.5 kB / 24.51 MB, free: 3.938 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2402/0.2402, allocations: 46.95 MB / 361.7 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.89 kB / 0.4969 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3283, allocations: 66.03 MB / 0.5614 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2066/0.5349, allocations: 160.3 MB / 0.7179 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.537, allocations: 0.8698 MB / 0.7187 GB, free: 2.477 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003405/0.5373, allocations: 15.88 kB / 0.7187 GB, free: 2.461 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007181/0.538, allocations: 198.7 kB / 0.7189 GB, free: 2.266 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000738/0.5388, allocations: 298.3 kB / 0.7192 GB, free: 1.973 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005562/0.5443, allocations: 1.965 MB / 0.7211 GB, free: 8 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001647/0.546, allocations: 0.9945 MB / 0.7221 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006881/0.5467, allocations: 276 kB / 0.7224 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.5509, allocations: 1.601 MB / 0.7239 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007922/0.5517, allocations: 338.8 kB / 0.7242 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.5518, allocations: 44 kB / 0.7243 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004874/0.5567, allocations: 2.367 MB / 0.7266 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.5571, allocations: 207.5 kB / 0.7268 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004528/0.5575, allocations: 227.2 kB / 0.727 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00441/0.5619, allocations: 1.983 MB / 0.7289 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5619, allocations: 0 / 0.7289 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5619, allocations: 0 / 0.7289 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.012e-05/0.562, allocations: 0 / 0.7289 GB, free: 7.977 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.002476/0.5644, allocations: 1.001 MB / 0.7299 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.5645, allocations: 15.97 kB / 0.7299 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.435e-05/0.5645, allocations: 9 kB / 0.7299 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.5646, allocations: 82.53 kB / 0.73 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.5649, allocations: 55.67 kB / 0.7301 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/0.5656, allocations: 319.8 kB / 0.7304 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.5656, allocations: 29 kB / 0.7304 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.5657, allocations: 40 kB / 0.7304 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.5668, allocations: 0.7668 MB / 0.7312 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.5668, allocations: 0 / 0.7312 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.637e-05/0.5668, allocations: 20 kB / 0.7312 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.5669, allocations: 12 kB / 0.7312 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009696/0.5678, allocations: 0.4884 MB / 0.7317 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002787/0.5706, allocations: 1.57 MB / 0.7332 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007591/0.5714, allocations: 359.6 kB / 0.7336 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.5717, allocations: 170.2 kB / 0.7337 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004701/0.5722, allocations: 135.8 kB / 0.7339 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.5722, allocations: 38.56 kB / 0.7339 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.853e-06/0.5722, allocations: 4 kB / 0.7339 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001211/0.5734, allocations: 0.4895 MB / 0.7344 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.5735, allocations: 110.8 kB / 0.7345 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/0.574, allocations: 401.5 kB / 0.7349 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.574, allocations: 33.7 kB / 0.7349 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.5742, allocations: 220.5 kB / 0.7351 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.802e-05/0.5743, allocations: 107.2 kB / 0.7352 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.5745, allocations: 90 kB / 0.7353 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5746, allocations: 354.7 kB / 0.7356 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.575, allocations: 204.1 kB / 0.7358 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.5754, allocations: 305.7 kB / 0.7361 GB, free: 188 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2633/0.8388, allocations: 484.1 kB / 0.7366 GB, free: 175 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.8388, allocations: 1.094 kB / 0.7366 GB, free: 175 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001346/0.8401, allocations: 0.6028 MB / 0.7372 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.8402, allocations: 68.58 kB / 0.7373 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.8402, allocations: 4.016 kB / 0.7373 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.8402, allocations: 5.438 kB / 0.7373 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.8407, allocations: 80.31 kB / 0.7373 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.8407, allocations: 9.484 kB / 0.7373 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.841, allocations: 53.7 kB / 0.7374 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/0.8411, allocations: 21.22 kB / 0.7374 GB, free: 174.8 MB / 0.5606 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.000243/0.8414, allocations: 190 kB / 0.7376 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.8415, allocations: 40.64 kB / 0.7376 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.8426, allocations: 486.9 kB / 0.7381 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.8427, allocations: 3.5 kB / 0.7381 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8427, allocations: 2.594 kB / 0.7381 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.8427, allocations: 3.797 kB / 0.7381 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.845, allocations: 1.253 MB / 0.7393 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.8451, allocations: 2.906 kB / 0.7393 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.8453, allocations: 63.38 kB / 0.7394 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.8453, allocations: 9.016 kB / 0.7394 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.8454, allocations: 7.594 kB / 0.7394 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.8454, allocations: 8.516 kB / 0.7394 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8454, allocations: 1.938 kB / 0.7394 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006459/0.846, allocations: 0.6433 MB / 0.7401 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.8461, allocations: 50.97 kB / 0.7401 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.801e-05/0.8462, allocations: 11.09 kB / 0.7401 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.8466, allocations: 25.86 kB / 0.7401 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.8467, allocations: 25.95 kB / 0.7402 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.8467, allocations: 24.03 kB / 0.7402 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004067/0.8471, allocations: 363.5 kB / 0.7405 GB, free: 173 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8471, allocations: 3.438 kB / 0.7405 GB, free: 173 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001139/0.8483, allocations: 355.7 kB / 0.7409 GB, free: 173 MB / 0.5606 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.0019/0.8502, allocations: 1.581 MB / 0.7424 GB, free: 172 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007917/0.851, allocations: 0.5024 MB / 0.7429 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.851, allocations: 0 / 0.7429 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.8512, allocations: 159.9 kB / 0.7431 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.8526, allocations: 284.9 kB / 0.7433 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004862/0.8574, allocations: 4.821 MB / 0.748 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.8576, allocations: 235.9 kB / 0.7483 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004503/0.8581, allocations: 119.8 kB / 0.7484 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.8583, allocations: 147.6 kB / 0.7485 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.011e-06/0.8583, allocations: 0 / 0.7485 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04055/0.8988, allocations: 21.18 MB / 0.7692 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.51, allocations: 11.98 kB / 0.7692 GB, free: 145.3 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.589172087959014] Failed to read output from testmodel.py, exit status != 0: ['time', 'traceSubstance.C', 'traceSubstance1.C'] 13.689041889971122 13.698655849 13.13429935 Calling exit ...