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.001341/0.001341, allocations: 126.1 kB / 17.84 MB, free: 5.258 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.00141/0.00141, allocations: 200.6 kB / 20.79 MB, free: 2.32 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.607/1.607, allocations: 207.6 MB / 231.2 MB, free: 4.094 MB / 174.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.3594/0.3594, allocations: 44.23 MB / 327.3 MB, free: 7.109 MB / 254.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.002217/0.002217, allocations: 71.88 kB / 462.9 MB, free: 1.016 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3153, allocations: 60.99 MB / 0.5116 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5652/0.8805, allocations: 186.9 MB / 0.6942 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.8827, allocations: 0.8903 MB / 0.695 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003505/0.8831, allocations: 16.84 kB / 0.6951 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007649/0.8838, allocations: 212.2 kB / 0.6953 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006552/0.8845, allocations: 282.2 kB / 0.6955 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006124/0.8906, allocations: 2.164 MB / 0.6976 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.8919, allocations: 0.9774 MB / 0.6986 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004236/0.8924, allocations: 289.1 kB / 0.6989 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003826/0.8962, allocations: 1.719 MB / 0.7005 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006015/0.8968, allocations: 338 kB / 0.7009 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.675e-05/0.8969, allocations: 48.28 kB / 0.7009 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005352/0.9022, allocations: 3.019 MB / 0.7039 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003688/0.9026, allocations: 195.9 kB / 0.7041 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000449/0.903, allocations: 265.4 kB / 0.7043 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005879/0.9089, allocations: 2.125 MB / 0.7064 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.9089, allocations: 0 / 0.7064 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9089, allocations: 0 / 0.7064 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.9089, allocations: 0 / 0.7064 GB, free: 15.23 MB / 0.5137 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.002494/0.9114, allocations: 1.097 MB / 0.7075 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.9115, allocations: 14.05 kB / 0.7075 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.25e-05/0.9115, allocations: 12.59 kB / 0.7075 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.247e-05/0.9116, allocations: 78.48 kB / 0.7076 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.9119, allocations: 56.12 kB / 0.7076 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.9124, allocations: 385.3 kB / 0.708 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.9125, allocations: 31.03 kB / 0.708 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.9125, allocations: 38.06 kB / 0.708 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.9134, allocations: 0.5202 MB / 0.7085 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.9134, allocations: 6.469 kB / 0.7086 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/0.9135, allocations: 18.94 kB / 0.7086 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.9135, allocations: 10.25 kB / 0.7086 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008273/0.9143, allocations: 496.9 kB / 0.7091 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002694/0.917, allocations: 1.977 MB / 0.711 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000778/0.9178, allocations: 441.9 kB / 0.7114 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.9181, allocations: 169.1 kB / 0.7116 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000968/0.9191, allocations: 0.9554 MB / 0.7125 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.9191, allocations: 41.66 kB / 0.7125 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 2.555e-06/0.9191, allocations: 0 / 0.7125 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.001147/0.9203, allocations: 0.4919 MB / 0.713 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.9203, allocations: 113.5 kB / 0.7131 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/0.9208, allocations: 397 kB / 0.7135 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.9208, allocations: 33.86 kB / 0.7135 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.921, allocations: 221.9 kB / 0.7138 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.956e-05/0.9211, allocations: 109.8 kB / 0.7139 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.9212, allocations: 83.44 kB / 0.7139 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.9214, allocations: 349.4 kB / 0.7143 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.9217, allocations: 149.6 kB / 0.7144 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.9221, allocations: 258 kB / 0.7147 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006943/0.9228, allocations: 485.5 kB / 0.7151 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.9228, allocations: 0 / 0.7151 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009457/0.9237, allocations: 0.5504 MB / 0.7157 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/0.9238, allocations: 62.77 kB / 0.7157 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.9238, allocations: 5.031 kB / 0.7157 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.9238, allocations: 6.859 kB / 0.7157 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.9242, allocations: 88.17 kB / 0.7158 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.9242, allocations: 7.219 kB / 0.7158 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.9246, allocations: 53.73 kB / 0.7159 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.832e-05/0.9246, allocations: 23.11 kB / 0.7159 GB, free: 9.203 MB / 0.5137 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.0002437/0.9249, allocations: 183.5 kB / 0.7161 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.925, allocations: 47.16 kB / 0.7161 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.926, allocations: 483.9 kB / 0.7166 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.926, allocations: 8.406 kB / 0.7166 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.9261, allocations: 3.984 kB / 0.7166 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.9261, allocations: 3.281 kB / 0.7166 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.9292, allocations: 2.442 MB / 0.719 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.9292, allocations: 6.719 kB / 0.719 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.9295, allocations: 62.56 kB / 0.719 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.9295, allocations: 9.25 kB / 0.7191 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.9295, allocations: 8.875 kB / 0.7191 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.9295, allocations: 5.062 kB / 0.7191 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.9295, allocations: 6.766 kB / 0.7191 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008695/0.9304, allocations: 0.6391 MB / 0.7197 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.9306, allocations: 130.1 kB / 0.7198 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.431e-05/0.9306, allocations: 15.86 kB / 0.7198 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.931, allocations: 20.98 kB / 0.7199 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.9311, allocations: 21.75 kB / 0.7199 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.061e-05/0.9312, allocations: 27.02 kB / 0.7199 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003747/0.9315, allocations: 361.4 kB / 0.7202 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.9315, allocations: 1.203 kB / 0.7202 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001333/0.9329, allocations: 390.9 kB / 0.7206 GB, free: 5.977 MB / 0.5137 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.002654/0.9355, allocations: 1.662 MB / 0.7222 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008299/0.9364, allocations: 450.6 kB / 0.7227 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.9364, allocations: 2.531 kB / 0.7227 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.9367, allocations: 159.3 kB / 0.7228 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.9381, allocations: 291.2 kB / 0.7231 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006491/0.9446, allocations: 4.608 MB / 0.7276 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.9452, allocations: 0.8387 MB / 0.7284 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004826/0.9457, allocations: 113.6 kB / 0.7285 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.9459, allocations: 150.7 kB / 0.7287 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of SimCode: time 6.62e-07/0.9459, allocations: 0 / 0.7287 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04523/0.9912, allocations: 20.85 MB / 0.749 GB, free: 13.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.643/10.63, allocations: 4.062 kB / 0.749 GB, free: 13.05 MB / 0.545 GB " [Timeout remaining time 649] (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: 13.687447700998746] Failed to read output from testmodel.py, exit status != 0: ['time', 'traceSubstance.C', 'traceSubstance1.C'] 10.778150742000435 10.804930166 9.891159392 Calling exit ...