Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001475/0.001475, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002011/0.002011, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.457/1.457, allocations: 230.5 MB / 258.2 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2207/0.2207, allocations: 46.93 MB / 361.6 MB, free: 4.191 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-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002477, allocations: 80.11 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3264, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5188/0.8451, allocations: 185.5 MB / 0.7427 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.847, allocations: 0.9013 MB / 0.7436 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.8472, allocations: 19.16 kB / 0.7436 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007189/0.8479, allocations: 207.2 kB / 0.7438 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005404/0.8485, allocations: 293.8 kB / 0.7441 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004302/0.8528, allocations: 1.969 MB / 0.746 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001007/0.8538, allocations: 0.9998 MB / 0.747 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003604/0.8541, allocations: 275.6 kB / 0.7472 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002799/0.8569, allocations: 1.599 MB / 0.7488 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005183/0.8575, allocations: 342.9 kB / 0.7491 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.305e-05/0.8575, allocations: 47.19 kB / 0.7492 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004317/0.8618, allocations: 2.898 MB / 0.752 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.8621, allocations: 205 kB / 0.7522 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.8624, allocations: 264.7 kB / 0.7525 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003011/0.8654, allocations: 2.065 MB / 0.7545 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.8654, allocations: 0 / 0.7545 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8654, allocations: 0.9062 kB / 0.7545 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.8654, allocations: 2.656 kB / 0.7545 GB, free: 1.5 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.001797/0.8672, allocations: 1.01 MB / 0.7555 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.8673, allocations: 10.09 kB / 0.7555 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.8674, allocations: 77.06 kB / 0.7555 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002578/0.8676, allocations: 55.22 kB / 0.7556 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.8681, allocations: 322.4 kB / 0.7559 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.8681, allocations: 30.31 kB / 0.7559 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.8682, allocations: 35.72 kB / 0.756 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007616/0.869, allocations: 0.5182 MB / 0.7565 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.869, allocations: 2.156 kB / 0.7565 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.869, allocations: 15.97 kB / 0.7565 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.869, allocations: 12.88 kB / 0.7565 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007387/0.8698, allocations: 0.4894 MB / 0.757 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.8722, allocations: 1.944 MB / 0.7589 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.8728, allocations: 360.1 kB / 0.7592 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.873, allocations: 172.5 kB / 0.7594 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003996/0.8734, allocations: 130.3 kB / 0.7595 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.8735, allocations: 44.8 kB / 0.7596 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.8735, allocations: 0 / 0.7596 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.0009916/0.8745, allocations: 0.4909 MB / 0.76 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.8746, allocations: 114.8 kB / 0.7601 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.8749, allocations: 397.1 kB / 0.7605 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.875, allocations: 36.11 kB / 0.7606 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.8751, allocations: 217.9 kB / 0.7608 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.973e-05/0.8752, allocations: 110.9 kB / 0.7609 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.8753, allocations: 75.34 kB / 0.7609 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.8754, allocations: 356.1 kB / 0.7613 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.8757, allocations: 153.5 kB / 0.7614 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.876, allocations: 256.8 kB / 0.7617 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.8766, allocations: 487 kB / 0.7621 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8766, allocations: 0.9062 kB / 0.7621 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008701/0.8775, allocations: 0.548 MB / 0.7627 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/0.8775, allocations: 65.34 kB / 0.7627 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.8776, allocations: 4.75 kB / 0.7627 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.8776, allocations: 7.125 kB / 0.7627 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.8779, allocations: 82.91 kB / 0.7628 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.878, allocations: 6.078 kB / 0.7628 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.8783, allocations: 53.95 kB / 0.7629 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/0.8783, allocations: 27.97 kB / 0.7629 GB, free: 13.85 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.0002077/0.8785, allocations: 182.4 kB / 0.7631 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.8786, allocations: 41.48 kB / 0.7631 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008985/0.8795, allocations: 495.1 kB / 0.7636 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.8795, allocations: 3.406 kB / 0.7636 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.8796, allocations: 9.922 kB / 0.7636 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.8796, allocations: 7.312 kB / 0.7636 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.8818, allocations: 1.369 MB / 0.765 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.8818, allocations: 1.812 kB / 0.765 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.8821, allocations: 62.27 kB / 0.765 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.8821, allocations: 3.969 kB / 0.765 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.8821, allocations: 12.59 kB / 0.765 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.8821, allocations: 6.297 kB / 0.765 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.8821, allocations: 5.812 kB / 0.765 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/0.8829, allocations: 0.6403 MB / 0.7657 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/0.883, allocations: 53.23 kB / 0.7657 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.337e-05/0.883, allocations: 14.69 kB / 0.7657 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.8835, allocations: 21.25 kB / 0.7657 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.8835, allocations: 29.2 kB / 0.7658 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.8836, allocations: 21.75 kB / 0.7658 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003385/0.8839, allocations: 365.3 kB / 0.7661 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.8839, allocations: 0 / 0.7661 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001042/0.8849, allocations: 357.7 kB / 0.7665 GB, free: 12.54 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.002043/0.887, allocations: 1.561 MB / 0.768 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007285/0.8877, allocations: 468.5 kB / 0.7685 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8877, allocations: 0 / 0.7685 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.888, allocations: 154.9 kB / 0.7686 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.8893, allocations: 287.2 kB / 0.7689 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005488/0.8948, allocations: 4.599 MB / 0.7734 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.8952, allocations: 0.8362 MB / 0.7742 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004623/0.8957, allocations: 113 kB / 0.7743 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.8959, allocations: 148.2 kB / 0.7744 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.8959, allocations: 0.875 kB / 0.7744 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04874/0.9446, allocations: 20.01 MB / 0.794 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.114/10.06, allocations: 18.66 kB / 0.794 GB, free: 2.629 MB / 0.5762 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.885617296677083] Failed to read output from testmodel.py, exit status != 0: ['time', 'traceSubstance.C', 'traceSubstance1.C'] 10.14480248093605 10.168988655 9.298789975 Calling exit ...