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.001824/0.001824, 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.002772/0.002772, 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.228/0.228, allocations: 46.94 MB / 361.7 MB, free: 4.258 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.002194/0.002194, allocations: 71.89 kB / 0.4969 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3086, allocations: 66.02 MB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5214/0.8301, allocations: 185.6 MB / 0.7426 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001847/0.8319, allocations: 0.8953 MB / 0.7435 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000205/0.8321, allocations: 15.66 kB / 0.7435 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007083/0.8328, allocations: 212 kB / 0.7437 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005849/0.8334, allocations: 292.9 kB / 0.744 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004685/0.8381, allocations: 1.971 MB / 0.7459 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001253/0.8394, allocations: 0.9956 MB / 0.7469 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.8398, allocations: 272.7 kB / 0.7471 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002995/0.8428, allocations: 1.602 MB / 0.7487 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005298/0.8433, allocations: 345 kB / 0.749 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.065e-05/0.8434, allocations: 47.72 kB / 0.7491 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004895/0.8482, allocations: 2.897 MB / 0.7519 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.8485, allocations: 198.8 kB / 0.7521 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004522/0.849, allocations: 272.6 kB / 0.7524 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004061/0.8531, allocations: 2.064 MB / 0.7544 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8531, allocations: 0 / 0.7544 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8531, allocations: 0 / 0.7544 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.8531, allocations: 4.031 kB / 0.7544 GB, free: 1.531 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.001974/0.8551, allocations: 1.004 MB / 0.7554 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.8551, allocations: 10.28 kB / 0.7554 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.905e-05/0.8551, allocations: 15.25 kB / 0.7554 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.055e-05/0.8552, allocations: 73.2 kB / 0.7555 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.8554, allocations: 63.48 kB / 0.7555 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.8559, allocations: 317.4 kB / 0.7558 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.8559, allocations: 35.52 kB / 0.7559 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.856, allocations: 34.09 kB / 0.7559 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007587/0.8568, allocations: 0.513 MB / 0.7564 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.8568, allocations: 0.8438 kB / 0.7564 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/0.8568, allocations: 19.72 kB / 0.7564 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.8568, allocations: 12.02 kB / 0.7564 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007627/0.8576, allocations: 0.489 MB / 0.7569 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.8601, allocations: 1.951 MB / 0.7588 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006052/0.8607, allocations: 358 kB / 0.7591 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.8609, allocations: 171.1 kB / 0.7593 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004153/0.8614, allocations: 127.7 kB / 0.7594 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.8614, allocations: 49.48 kB / 0.7595 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.843e-06/0.8614, allocations: 0 / 0.7595 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001/0.8624, allocations: 0.4915 MB / 0.76 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.8625, allocations: 114.9 kB / 0.7601 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.8628, allocations: 400.9 kB / 0.7604 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.8629, allocations: 34.8 kB / 0.7605 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.863, allocations: 213.8 kB / 0.7607 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.8631, allocations: 109.3 kB / 0.7608 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.8632, allocations: 82.06 kB / 0.7609 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.8633, allocations: 351.7 kB / 0.7612 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.8636, allocations: 149.7 kB / 0.7613 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.8639, allocations: 260.3 kB / 0.7616 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/0.8646, allocations: 486.3 kB / 0.7621 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8646, allocations: 0 / 0.7621 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008849/0.8655, allocations: 0.5488 MB / 0.7626 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.52e-05/0.8655, allocations: 62.41 kB / 0.7627 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.8655, allocations: 8.406 kB / 0.7627 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.8656, allocations: 4.719 kB / 0.7627 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.8659, allocations: 88.55 kB / 0.7627 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.8659, allocations: 10.94 kB / 0.7628 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.8663, allocations: 53.12 kB / 0.7628 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.467e-05/0.8663, allocations: 20.97 kB / 0.7628 GB, free: 13.89 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.0002212/0.8665, allocations: 185.1 kB / 0.763 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.8667, allocations: 44.89 kB / 0.763 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008979/0.8676, allocations: 492.9 kB / 0.7635 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8676, allocations: 7.75 kB / 0.7635 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.8676, allocations: 6.219 kB / 0.7635 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.8676, allocations: 0 / 0.7635 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.8699, allocations: 1.367 MB / 0.7649 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.8699, allocations: 3.469 kB / 0.7649 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.8701, allocations: 58.36 kB / 0.7649 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.8701, allocations: 5.312 kB / 0.7649 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.8702, allocations: 10.12 kB / 0.7649 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.8702, allocations: 3.5 kB / 0.7649 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.8702, allocations: 5.688 kB / 0.765 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007879/0.871, allocations: 0.6443 MB / 0.7656 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.465e-05/0.8711, allocations: 55.69 kB / 0.7656 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.8711, allocations: 6.062 kB / 0.7656 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.8715, allocations: 24.05 kB / 0.7657 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.8716, allocations: 32.7 kB / 0.7657 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.8717, allocations: 19.94 kB / 0.7657 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003436/0.872, allocations: 364.8 kB / 0.7661 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.872, allocations: 0 / 0.7661 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001065/0.8731, allocations: 356.4 kB / 0.7664 GB, free: 12.58 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.002202/0.8753, allocations: 1.575 MB / 0.7679 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007896/0.8761, allocations: 465.2 kB / 0.7684 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8761, allocations: 4.156 kB / 0.7684 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.8763, allocations: 156 kB / 0.7685 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.8778, allocations: 286.4 kB / 0.7688 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005948/0.8837, allocations: 4.596 MB / 0.7733 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.8841, allocations: 0.833 MB / 0.7741 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004194/0.8846, allocations: 118.1 kB / 0.7742 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.8848, allocations: 150.3 kB / 0.7744 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of SimCode: time 8.01e-07/0.8848, allocations: 0.9375 kB / 0.7744 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04684/0.9316, allocations: 20.16 MB / 0.7941 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.28, allocations: 8.203 kB / 0.7941 GB, free: 2.68 MB / 0.5762 GB " [Timeout remaining time 647] (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.323607861006167] Failed to read output from testmodel.py, exit status != 0: ['time', 'traceSubstance.C', 'traceSubstance1.C'] 13.462005948997103 13.485049309 12.628461967 Calling exit ...