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.001288/0.001288, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001398/0.001398, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.45/1.45, allocations: 230.5 MB / 254.7 MB, free: 15.04 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.229/0.229, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.003586/0.003586, allocations: 79.86 kB / 0.4917 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1196, allocations: 66.04 MB / 0.5562 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4707/0.5903, allocations: 185.3 MB / 0.7371 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002084/0.5924, allocations: 0.9008 MB / 0.738 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.5926, allocations: 15.81 kB / 0.738 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006781/0.5933, allocations: 218.7 kB / 0.7382 GB, free: 6.602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005821/0.5939, allocations: 278.3 kB / 0.7385 GB, free: 6.328 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005152/0.599, allocations: 1.937 MB / 0.7404 GB, free: 4.398 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.6003, allocations: 0.9749 MB / 0.7413 GB, free: 3.418 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.6008, allocations: 297.5 kB / 0.7416 GB, free: 3.125 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003317/0.6041, allocations: 1.581 MB / 0.7431 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005492/0.6047, allocations: 342.7 kB / 0.7435 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.962e-05/0.6047, allocations: 48 kB / 0.7435 GB, free: 1.156 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005189/0.6099, allocations: 2.858 MB / 0.7463 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.6102, allocations: 207.4 kB / 0.7465 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.6106, allocations: 262.9 kB / 0.7467 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003824/0.6144, allocations: 2.061 MB / 0.7488 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.6144, allocations: 0 / 0.7488 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6144, allocations: 0 / 0.7488 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.6144, allocations: 7.938 kB / 0.7488 GB, free: 11.76 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.00224/0.6166, allocations: 1.073 MB / 0.7498 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.6167, allocations: 8.031 kB / 0.7498 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.6168, allocations: 82.53 kB / 0.7499 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.6171, allocations: 59.66 kB / 0.75 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006569/0.6177, allocations: 386.1 kB / 0.7503 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.6178, allocations: 36.98 kB / 0.7504 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.785e-05/0.6178, allocations: 36 kB / 0.7504 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000944/0.6188, allocations: 0.5119 MB / 0.7509 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.6188, allocations: 0 / 0.7509 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.354e-05/0.6188, allocations: 16 kB / 0.7509 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.6189, allocations: 16 kB / 0.7509 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000906/0.6198, allocations: 491.6 kB / 0.7514 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002752/0.6225, allocations: 1.978 MB / 0.7533 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000781/0.6233, allocations: 446.2 kB / 0.7538 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.6236, allocations: 174.5 kB / 0.7539 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009181/0.6246, allocations: 0.9454 MB / 0.7548 GB, free: 5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.6246, allocations: 46.44 kB / 0.7549 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.883e-06/0.6246, allocations: 3.938 kB / 0.7549 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001167/0.6258, allocations: 497.1 kB / 0.7554 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.6258, allocations: 110.8 kB / 0.7555 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.6263, allocations: 397.6 kB / 0.7558 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.6263, allocations: 33.7 kB / 0.7559 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.6265, allocations: 224.5 kB / 0.7561 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.596e-05/0.6266, allocations: 103.1 kB / 0.7562 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.6268, allocations: 78.02 kB / 0.7563 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.6269, allocations: 354.8 kB / 0.7566 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.6273, allocations: 152.6 kB / 0.7568 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/0.6277, allocations: 266.6 kB / 0.757 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007828/0.6284, allocations: 487.7 kB / 0.7575 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6284, allocations: 0 / 0.7575 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001051/0.6295, allocations: 0.5471 MB / 0.758 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.18e-05/0.6296, allocations: 63.78 kB / 0.7581 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.6296, allocations: 8 kB / 0.7581 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.6296, allocations: 4 kB / 0.7581 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.63, allocations: 87.81 kB / 0.7582 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.63, allocations: 4 kB / 0.7582 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.6304, allocations: 59.61 kB / 0.7582 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.6304, allocations: 16 kB / 0.7582 GB, free: 1.32 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.000248/0.6307, allocations: 181.7 kB / 0.7584 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.6308, allocations: 43.77 kB / 0.7585 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.6319, allocations: 498.1 kB / 0.7589 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.6319, allocations: 4 kB / 0.7589 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6319, allocations: 0 / 0.7589 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6319, allocations: 7.984 kB / 0.7589 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003344/0.6352, allocations: 2.43 MB / 0.7613 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6352, allocations: 3.938 kB / 0.7613 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.6355, allocations: 67.89 kB / 0.7614 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.6355, allocations: 4 kB / 0.7614 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.6356, allocations: 12.56 kB / 0.7614 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.6356, allocations: 4 kB / 0.7614 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6356, allocations: 0 / 0.7614 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009731/0.6365, allocations: 0.6444 MB / 0.762 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.6367, allocations: 128.7 kB / 0.7622 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/0.6368, allocations: 21.11 kB / 0.7622 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.6372, allocations: 15.98 kB / 0.7622 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.6373, allocations: 23.97 kB / 0.7622 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.6373, allocations: 23.98 kB / 0.7622 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004568/0.6378, allocations: 363 kB / 0.7626 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6378, allocations: 7.938 kB / 0.7626 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001126/0.6389, allocations: 359 kB / 0.7629 GB, free: 12.1 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.002354/0.6412, allocations: 1.567 MB / 0.7645 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009359/0.6422, allocations: 462.5 kB / 0.7649 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6422, allocations: 0 / 0.7649 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.6425, allocations: 161 kB / 0.7651 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.644, allocations: 282.3 kB / 0.7653 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00704/0.651, allocations: 4.605 MB / 0.7698 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.6516, allocations: 0.8429 MB / 0.7706 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005714/0.6522, allocations: 116.7 kB / 0.7708 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.6524, allocations: 147.4 kB / 0.7709 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.6524, allocations: 0 / 0.7709 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04965/0.7021, allocations: 19.8 MB / 0.7902 GB, free: 52 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.072/9.775, allocations: 11.88 kB / 0.7902 GB, free: 40 kB / 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 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.879908016882837] Failed to read output from testmodel.py, exit status != 0: ['time', 'traceSubstance.C', 'traceSubstance1.C'] 9.859901427291334 9.882657135 9.264175304 Calling exit ...