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.001374/0.001374, allocations: 112.1 kB / 18.49 MB, free: 4.539 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.001384/0.001384, allocations: 219 kB / 21.46 MB, free: 1.586 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.546/1.546, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.3063/0.3063, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.003069/0.003069, allocations: 63.91 kB / 0.4916 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1555, allocations: 65.99 MB / 0.5561 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.501/0.6565, allocations: 185.3 MB / 0.737 GB, free: 8.086 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.6586, allocations: 0.9016 MB / 0.7379 GB, free: 7.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/0.6588, allocations: 15.88 kB / 0.7379 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007017/0.6595, allocations: 214.6 kB / 0.7381 GB, free: 6.953 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006089/0.6601, allocations: 286.3 kB / 0.7384 GB, free: 6.672 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005063/0.6652, allocations: 1.927 MB / 0.7403 GB, free: 4.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.6665, allocations: 0.9749 MB / 0.7412 GB, free: 3.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.6669, allocations: 293.6 kB / 0.7415 GB, free: 3.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.6704, allocations: 1.589 MB / 0.743 GB, free: 1.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006462/0.6711, allocations: 338.8 kB / 0.7434 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.793e-05/0.6712, allocations: 44 kB / 0.7434 GB, free: 1.512 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005334/0.6765, allocations: 2.858 MB / 0.7462 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003201/0.6768, allocations: 207.4 kB / 0.7464 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.6772, allocations: 274.9 kB / 0.7467 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003898/0.6811, allocations: 2.061 MB / 0.7487 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.6811, allocations: 0 / 0.7487 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6811, allocations: 0 / 0.7487 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.6811, allocations: 0 / 0.7487 GB, free: 12.11 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.002129/0.6833, allocations: 1.077 MB / 0.7497 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.6833, allocations: 12.03 kB / 0.7497 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.039e-05/0.6833, allocations: 9 kB / 0.7497 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.195e-05/0.6834, allocations: 74.53 kB / 0.7498 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002783/0.6837, allocations: 63.61 kB / 0.7499 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000585/0.6843, allocations: 382.1 kB / 0.7502 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.6843, allocations: 36.88 kB / 0.7503 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.191e-05/0.6844, allocations: 43.98 kB / 0.7503 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009863/0.6854, allocations: 0.5159 MB / 0.7508 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6854, allocations: 0 / 0.7508 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.532e-05/0.6855, allocations: 16 kB / 0.7508 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.6855, allocations: 8 kB / 0.7508 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009492/0.6864, allocations: 499.5 kB / 0.7513 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.6894, allocations: 1.985 MB / 0.7533 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008699/0.6902, allocations: 440.7 kB / 0.7537 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.6906, allocations: 166.5 kB / 0.7538 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.6917, allocations: 0.9416 MB / 0.7548 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.6917, allocations: 50.48 kB / 0.7548 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.175e-06/0.6917, allocations: 0 / 0.7548 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.00128/0.693, allocations: 0.4893 MB / 0.7553 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.6931, allocations: 106.8 kB / 0.7554 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.6936, allocations: 401.6 kB / 0.7558 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.6936, allocations: 33.7 kB / 0.7558 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.6938, allocations: 228.5 kB / 0.756 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.573e-05/0.6939, allocations: 99.12 kB / 0.7561 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.6941, allocations: 82 kB / 0.7562 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.6943, allocations: 350.7 kB / 0.7565 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.6946, allocations: 156.6 kB / 0.7567 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.695, allocations: 257.9 kB / 0.7569 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008029/0.6958, allocations: 487.8 kB / 0.7574 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.6958, allocations: 7.938 kB / 0.7574 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001093/0.6969, allocations: 0.5439 MB / 0.7579 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.318e-05/0.697, allocations: 63.41 kB / 0.758 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.697, allocations: 4 kB / 0.758 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.697, allocations: 4 kB / 0.758 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.6974, allocations: 89 kB / 0.7581 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.6974, allocations: 4 kB / 0.7581 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.6978, allocations: 55.95 kB / 0.7581 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/0.6978, allocations: 24 kB / 0.7582 GB, free: 1.652 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.0002563/0.6981, allocations: 188 kB / 0.7583 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.6982, allocations: 43.75 kB / 0.7584 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.6993, allocations: 491.5 kB / 0.7588 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.6993, allocations: 4 kB / 0.7588 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6993, allocations: 0 / 0.7588 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.6993, allocations: 0 / 0.7588 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/0.7025, allocations: 2.435 MB / 0.7612 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.7025, allocations: 4.062 kB / 0.7612 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.7028, allocations: 71.84 kB / 0.7613 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.7028, allocations: 0 / 0.7613 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.7028, allocations: 16.17 kB / 0.7613 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.7028, allocations: 4 kB / 0.7613 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7028, allocations: 7.938 kB / 0.7613 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008516/0.7037, allocations: 0.6324 MB / 0.7619 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.7038, allocations: 140.6 kB / 0.7621 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.7039, allocations: 8 kB / 0.7621 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.7043, allocations: 27.91 kB / 0.7621 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/0.7044, allocations: 31.91 kB / 0.7621 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.7044, allocations: 19.98 kB / 0.7622 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000431/0.7049, allocations: 363.1 kB / 0.7625 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7049, allocations: 0 / 0.7625 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001125/0.706, allocations: 362.9 kB / 0.7629 GB, free: 12.43 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.002233/0.7082, allocations: 1.573 MB / 0.7644 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008978/0.7091, allocations: 455.1 kB / 0.7648 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7091, allocations: 64 / 0.7648 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.7095, allocations: 163.7 kB / 0.765 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.7109, allocations: 276.9 kB / 0.7652 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00639/0.7173, allocations: 4.601 MB / 0.7697 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.7178, allocations: 0.8429 MB / 0.7706 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004355/0.7183, allocations: 122.4 kB / 0.7707 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.7185, allocations: 147.3 kB / 0.7708 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.7185, allocations: 0 / 0.7708 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04212/0.7606, allocations: 19.84 MB / 0.7902 GB, free: 344 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.583/10.34, allocations: 4.062 kB / 0.7902 GB, free: 340 kB / 0.5919 GB " [Timeout remaining time 650] (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: 13.620146228000522] Failed to read output from testmodel.py, exit status != 0: ['time', 'traceSubstance.C', 'traceSubstance1.C'] 10.486484371009283 10.509927716 9.825312317 Calling exit ...