Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2155/0.2155, allocations: 46.93 MB / 361.6 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 75.88 kB / 0.4969 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2981, allocations: 66.09 MB / 0.5614 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.1962/0.4943, allocations: 160.3 MB / 0.7179 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.4962, allocations: 0.8813 MB / 0.7188 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.4964, allocations: 19.88 kB / 0.7188 GB, free: 2.277 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005978/0.497, allocations: 190.7 kB / 0.719 GB, free: 2.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.4975, allocations: 298.4 kB / 0.7193 GB, free: 1.797 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00485/0.5024, allocations: 1.972 MB / 0.7212 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001223/0.5036, allocations: 0.9906 MB / 0.7222 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004877/0.5041, allocations: 277.3 kB / 0.7225 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003597/0.5077, allocations: 1.597 MB / 0.724 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005649/0.5082, allocations: 338.8 kB / 0.7243 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.834e-05/0.5083, allocations: 48 kB / 0.7244 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004391/0.5127, allocations: 2.355 MB / 0.7267 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.513, allocations: 207.5 kB / 0.7269 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003039/0.5133, allocations: 235 kB / 0.7271 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003176/0.5165, allocations: 1.975 MB / 0.729 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5165, allocations: 4 kB / 0.729 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5165, allocations: 0 / 0.729 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.5165, allocations: 0 / 0.729 GB, free: 7.805 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.001907/0.5184, allocations: 0.9974 MB / 0.73 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.5184, allocations: 8.031 kB / 0.73 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.736e-05/0.5184, allocations: 13 kB / 0.73 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.161e-05/0.5185, allocations: 82.45 kB / 0.7301 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002684/0.5188, allocations: 59.67 kB / 0.7302 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.5194, allocations: 319.8 kB / 0.7305 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.5194, allocations: 32.94 kB / 0.7305 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.5195, allocations: 36 kB / 0.7305 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.5206, allocations: 0.7708 MB / 0.7313 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.5206, allocations: 3.938 kB / 0.7313 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.5206, allocations: 16 kB / 0.7313 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.5206, allocations: 8 kB / 0.7313 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008923/0.5215, allocations: 0.4885 MB / 0.7318 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.5241, allocations: 1.574 MB / 0.7333 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007204/0.5248, allocations: 363.6 kB / 0.7337 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.5252, allocations: 174.5 kB / 0.7338 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004308/0.5256, allocations: 123.9 kB / 0.734 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.5256, allocations: 42.55 kB / 0.734 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 5.801e-06/0.5256, allocations: 4 kB / 0.734 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001159/0.5268, allocations: 0.4964 MB / 0.7345 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.5269, allocations: 106.8 kB / 0.7346 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.5273, allocations: 397.6 kB / 0.735 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/0.5274, allocations: 33.7 kB / 0.735 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.5276, allocations: 228.4 kB / 0.7352 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.5277, allocations: 107.2 kB / 0.7353 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.5278, allocations: 82.02 kB / 0.7354 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.528, allocations: 354.7 kB / 0.7357 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.5283, allocations: 204 kB / 0.7359 GB, free: 376 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.5288, allocations: 313.6 kB / 0.7362 GB, free: 4 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2386/0.7674, allocations: 475.3 kB / 0.7367 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.7674, allocations: 1.531 kB / 0.7367 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001296/0.7687, allocations: 0.6017 MB / 0.7373 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.311e-05/0.7687, allocations: 62.47 kB / 0.7373 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.7687, allocations: 4.188 kB / 0.7373 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/0.7688, allocations: 5.062 kB / 0.7373 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.7692, allocations: 88.58 kB / 0.7374 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/0.7692, allocations: 7.797 kB / 0.7374 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.7696, allocations: 47.34 kB / 0.7375 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/0.7697, allocations: 22 kB / 0.7375 GB, free: 174.4 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.0002535/0.7699, allocations: 188.4 kB / 0.7377 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.77, allocations: 46.55 kB / 0.7377 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.7712, allocations: 495.3 kB / 0.7382 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.7712, allocations: 3.719 kB / 0.7382 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.7712, allocations: 1.344 kB / 0.7382 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.7712, allocations: 2.625 kB / 0.7382 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.7737, allocations: 1.26 MB / 0.7394 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7737, allocations: 2.594 kB / 0.7394 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.774, allocations: 59.98 kB / 0.7395 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.774, allocations: 3.625 kB / 0.7395 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.774, allocations: 8.594 kB / 0.7395 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-06/0.774, allocations: 5.109 kB / 0.7395 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.774, allocations: 2.219 kB / 0.7395 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006962/0.7747, allocations: 0.6471 MB / 0.7401 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/0.7748, allocations: 53.08 kB / 0.7402 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.958e-05/0.7749, allocations: 7.969 kB / 0.7402 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.7753, allocations: 21.28 kB / 0.7402 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.7754, allocations: 30.77 kB / 0.7403 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.7754, allocations: 29.19 kB / 0.7403 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003784/0.7758, allocations: 363.8 kB / 0.7406 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7758, allocations: 0 / 0.7406 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001037/0.7768, allocations: 356.6 kB / 0.741 GB, free: 172.6 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.002064/0.7789, allocations: 1.568 MB / 0.7425 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008459/0.7798, allocations: 0.5036 MB / 0.743 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.7798, allocations: 0.7812 kB / 0.743 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.78, allocations: 164.4 kB / 0.7431 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.7815, allocations: 284.2 kB / 0.7434 GB, free: 171 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005039/0.7865, allocations: 4.824 MB / 0.7481 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.7867, allocations: 234.9 kB / 0.7484 GB, free: 166 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003958/0.7871, allocations: 118.4 kB / 0.7485 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.7873, allocations: 147.3 kB / 0.7486 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.643e-06/0.7873, allocations: 0 / 0.7486 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/0.8303, allocations: 21.16 MB / 0.7693 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.8, allocations: 11.5 kB / 0.7693 GB, free: 144.9 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.561076287995093] Failed to read output from testmodel.py, exit status != 0: ['time', 'traceSubstance.C', 'traceSubstance1.C'] 12.964810685021803 12.974326505 12.455761436 Calling exit ...