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.001745/0.001745, allocations: 119.7 kB / 18.5 MB, free: 4.539 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.002402/0.002402, allocations: 213.6 kB / 21.46 MB, free: 1.582 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.525/1.525, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2328/0.2328, allocations: 46.9 MB / 357.4 MB, free: 10.5 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.002273/0.002273, allocations: 79.88 kB / 0.4912 GB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1291, allocations: 65.98 MB / 0.5557 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4763/0.6054, allocations: 185.3 MB / 0.7366 GB, free: 8.668 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.6074, allocations: 0.893 MB / 0.7375 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.6076, allocations: 11.94 kB / 0.7375 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007163/0.6083, allocations: 218.6 kB / 0.7377 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005908/0.6089, allocations: 286.3 kB / 0.738 GB, free: 7.262 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005148/0.6141, allocations: 1.93 MB / 0.7398 GB, free: 5.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.6154, allocations: 0.9789 MB / 0.7408 GB, free: 4.355 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004315/0.6159, allocations: 293.6 kB / 0.7411 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003513/0.6194, allocations: 1.585 MB / 0.7426 GB, free: 2.477 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005582/0.6199, allocations: 334.8 kB / 0.7429 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.262e-05/0.62, allocations: 48 kB / 0.743 GB, free: 2.102 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005048/0.6251, allocations: 2.858 MB / 0.7458 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.6254, allocations: 199.5 kB / 0.746 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.6257, allocations: 266.9 kB / 0.7462 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003392/0.6291, allocations: 2.068 MB / 0.7482 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6291, allocations: 0 / 0.7482 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6291, allocations: 0 / 0.7482 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.6291, allocations: 0 / 0.7482 GB, free: 12.71 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.001941/0.631, allocations: 1.077 MB / 0.7493 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.6311, allocations: 16.02 kB / 0.7493 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.6312, allocations: 78.52 kB / 0.7494 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.6314, allocations: 59.67 kB / 0.7494 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000613/0.632, allocations: 386.1 kB / 0.7498 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.6321, allocations: 29 kB / 0.7498 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.6321, allocations: 36 kB / 0.7499 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009052/0.633, allocations: 0.5197 MB / 0.7504 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.6331, allocations: 4 kB / 0.7504 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/0.6331, allocations: 16 kB / 0.7504 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.6331, allocations: 8 kB / 0.7504 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009103/0.634, allocations: 499.5 kB / 0.7509 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002865/0.6369, allocations: 1.977 MB / 0.7528 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/0.6377, allocations: 442.1 kB / 0.7532 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.638, allocations: 174.4 kB / 0.7534 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008717/0.6389, allocations: 0.9494 MB / 0.7543 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.6389, allocations: 38.56 kB / 0.7544 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.6389, allocations: 0 / 0.7544 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001145/0.6401, allocations: 0.4929 MB / 0.7549 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.6401, allocations: 110.8 kB / 0.755 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/0.6406, allocations: 397.6 kB / 0.7553 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.6406, allocations: 33.7 kB / 0.7554 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.6408, allocations: 220.5 kB / 0.7556 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.573e-05/0.6409, allocations: 111.1 kB / 0.7557 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.6411, allocations: 82.02 kB / 0.7558 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.6412, allocations: 346.8 kB / 0.7561 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.6415, allocations: 152.6 kB / 0.7562 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.642, allocations: 262.7 kB / 0.7565 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.6427, allocations: 487.9 kB / 0.757 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.6427, allocations: 4 kB / 0.757 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001012/0.6437, allocations: 0.5512 MB / 0.7575 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/0.6438, allocations: 67.39 kB / 0.7576 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.6438, allocations: 4 kB / 0.7576 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.6438, allocations: 7.984 kB / 0.7576 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.6442, allocations: 79.89 kB / 0.7576 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.6442, allocations: 4 kB / 0.7577 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.6446, allocations: 55.61 kB / 0.7577 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.6446, allocations: 19.98 kB / 0.7577 GB, free: 2.266 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.0002309/0.6448, allocations: 193.7 kB / 0.7579 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.645, allocations: 39.77 kB / 0.7579 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.646, allocations: 482 kB / 0.7584 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.646, allocations: 11.98 kB / 0.7584 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.646, allocations: 0 / 0.7584 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.646, allocations: 0 / 0.7584 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.6492, allocations: 2.429 MB / 0.7608 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.6493, allocations: 4 kB / 0.7608 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.6496, allocations: 60 kB / 0.7609 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.386e-05/0.6496, allocations: 7.984 kB / 0.7609 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.6496, allocations: 13.12 kB / 0.7609 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.6496, allocations: 7.984 kB / 0.7609 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.6496, allocations: 11.88 kB / 0.7609 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008808/0.6505, allocations: 0.6371 MB / 0.7615 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.6506, allocations: 132.7 kB / 0.7616 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/0.6507, allocations: 11.94 kB / 0.7617 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.6511, allocations: 19.98 kB / 0.7617 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.6512, allocations: 27.91 kB / 0.7617 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/0.6513, allocations: 23.98 kB / 0.7617 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004222/0.6517, allocations: 363.1 kB / 0.7621 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6517, allocations: 0 / 0.7621 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001099/0.6528, allocations: 359 kB / 0.7624 GB, free: 13.05 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.002267/0.655, allocations: 1.605 MB / 0.764 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009034/0.656, allocations: 454.8 kB / 0.7644 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.656, allocations: 0 / 0.7644 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.6563, allocations: 159.8 kB / 0.7646 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.6577, allocations: 273.3 kB / 0.7648 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006793/0.6645, allocations: 4.608 MB / 0.7693 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.6651, allocations: 0.839 MB / 0.7701 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005697/0.6656, allocations: 121.7 kB / 0.7703 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.6659, allocations: 147.4 kB / 0.7704 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of SimCode: time 1.202e-06/0.6659, allocations: 0 / 0.7704 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04768/0.7136, allocations: 19.78 MB / 0.7897 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.212/9.925, allocations: 7.922 kB / 0.7897 GB, free: 0.9844 MB / 0.5919 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.902090982999653] Failed to read output from testmodel.py, exit status != 0: ['time', 'traceSubstance.C', 'traceSubstance1.C'] 10.009306956082582 10.037386513 9.403444799 Calling exit ...