Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001742/0.001742, allocations: 109 kB / 20.48 MB, free: 1.477 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.002187/0.002187, allocations: 213 kB / 23.79 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 207.6 MB / 234.6 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.233/0.233, allocations: 44.24 MB / 331.1 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002204/0.002204, allocations: 70.56 kB / 468.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1263, allocations: 61.03 MB / 0.5169 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4629/0.5892, allocations: 187.2 MB / 0.6997 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.5914, allocations: 0.9046 MB / 0.7006 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000441/0.5919, allocations: 11.88 kB / 0.7006 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009232/0.5928, allocations: 214.7 kB / 0.7008 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008853/0.5937, allocations: 290.3 kB / 0.7011 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007692/0.6014, allocations: 2.205 MB / 0.7033 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001672/0.6031, allocations: 0.9945 MB / 0.7042 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006345/0.6037, allocations: 274.7 kB / 0.7045 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005165/0.6089, allocations: 1.737 MB / 0.7062 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007989/0.6097, allocations: 330.8 kB / 0.7065 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.6098, allocations: 48 kB / 0.7066 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006349/0.6162, allocations: 3.046 MB / 0.7095 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004207/0.6166, allocations: 203.5 kB / 0.7097 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005467/0.6171, allocations: 266.9 kB / 0.71 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00494/0.6221, allocations: 2.131 MB / 0.7121 GB, free: 11.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6221, allocations: 0 / 0.7121 GB, free: 11.83 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6221, allocations: 0 / 0.7121 GB, free: 11.83 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.23e-05/0.6221, allocations: 0 / 0.7121 GB, free: 11.83 MB / 0.545 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.002443/0.6246, allocations: 1.021 MB / 0.7131 GB, free: 10.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.6246, allocations: 8.031 kB / 0.7131 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.212e-05/0.6246, allocations: 9 kB / 0.7131 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.6247, allocations: 78.53 kB / 0.7132 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003211/0.6251, allocations: 59.7 kB / 0.7132 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006847/0.6258, allocations: 323.8 kB / 0.7135 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.6258, allocations: 29 kB / 0.7135 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.6259, allocations: 39.94 kB / 0.7136 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.6269, allocations: 0.5235 MB / 0.7141 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.6269, allocations: 3.984 kB / 0.7141 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.6269, allocations: 16 kB / 0.7141 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.627, allocations: 15.94 kB / 0.7141 GB, free: 9.609 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009625/0.6279, allocations: 491.6 kB / 0.7146 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00301/0.6309, allocations: 1.943 MB / 0.7165 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007716/0.6317, allocations: 359.6 kB / 0.7168 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/0.6321, allocations: 166.5 kB / 0.717 GB, free: 6.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/0.6326, allocations: 132 kB / 0.7171 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/0.6326, allocations: 46.5 kB / 0.7172 GB, free: 6.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 2.695e-06/0.6326, allocations: 0 / 0.7172 GB, free: 6.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.001294/0.6339, allocations: 497.1 kB / 0.7176 GB, free: 5.824 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.634, allocations: 114.8 kB / 0.7178 GB, free: 5.688 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000584/0.6346, allocations: 393.6 kB / 0.7181 GB, free: 5.293 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.499e-05/0.6347, allocations: 41.7 kB / 0.7182 GB, free: 5.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.6349, allocations: 216.5 kB / 0.7184 GB, free: 5.031 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.635, allocations: 111 kB / 0.7185 GB, free: 4.922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.6351, allocations: 78.02 kB / 0.7186 GB, free: 4.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.6353, allocations: 350.8 kB / 0.7189 GB, free: 4.488 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.6357, allocations: 148.6 kB / 0.719 GB, free: 4.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.6361, allocations: 266 kB / 0.7193 GB, free: 4.039 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008006/0.6369, allocations: 488.5 kB / 0.7197 GB, free: 3.508 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6369, allocations: 0 / 0.7197 GB, free: 3.508 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001132/0.638, allocations: 0.5472 MB / 0.7203 GB, free: 2.941 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.653e-05/0.6381, allocations: 59.41 kB / 0.7203 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.6381, allocations: 4 kB / 0.7203 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.6382, allocations: 4 kB / 0.7203 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.6386, allocations: 91.81 kB / 0.7204 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.6386, allocations: 5.641 kB / 0.7204 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.639, allocations: 63.92 kB / 0.7205 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/0.6391, allocations: 20 kB / 0.7205 GB, free: 2.688 MB / 0.545 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.0002945/0.6394, allocations: 185.6 kB / 0.7207 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.6396, allocations: 47.72 kB / 0.7207 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.6407, allocations: 490.4 kB / 0.7212 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.6407, allocations: 4 kB / 0.7212 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6407, allocations: 0 / 0.7212 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.6407, allocations: 7.984 kB / 0.7212 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002841/0.6435, allocations: 1.355 MB / 0.7225 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.6436, allocations: 4 kB / 0.7225 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.6438, allocations: 64.77 kB / 0.7226 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.6439, allocations: 8.125 kB / 0.7226 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.6439, allocations: 15.94 kB / 0.7226 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.6439, allocations: 4 kB / 0.7226 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.6439, allocations: 4 kB / 0.7226 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00095/0.6448, allocations: 0.6396 MB / 0.7233 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.645, allocations: 51.64 kB / 0.7233 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.921e-05/0.6451, allocations: 21.06 kB / 0.7233 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/0.6455, allocations: 28.06 kB / 0.7234 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/0.6456, allocations: 27.95 kB / 0.7234 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.6457, allocations: 19.98 kB / 0.7234 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00046/0.6461, allocations: 367 kB / 0.7238 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6461, allocations: 0 / 0.7238 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001304/0.6474, allocations: 386.9 kB / 0.7241 GB, free: 14.86 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.002818/0.6502, allocations: 1.66 MB / 0.7257 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009225/0.6512, allocations: 450.4 kB / 0.7262 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6512, allocations: 0.75 kB / 0.7262 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.6515, allocations: 159.7 kB / 0.7263 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.6531, allocations: 282.4 kB / 0.7266 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007275/0.6604, allocations: 4.615 MB / 0.7311 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.6609, allocations: 0.839 MB / 0.7319 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004767/0.6614, allocations: 116.3 kB / 0.732 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.6617, allocations: 143.4 kB / 0.7322 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of SimCode: time 7.22e-07/0.6617, allocations: 0 / 0.7322 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05346/0.7151, allocations: 21.19 MB / 0.7529 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.1, allocations: 19.86 kB / 0.7529 GB, free: 1.086 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.344781505991705] Failed to read output from testmodel.py, exit status != 0: ['time', 'traceSubstance.C', 'traceSubstance1.C'] 13.279778538970277 13.297657313 12.671705039 Calling exit ...