Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.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.002255/0.002255, allocations: 118 kB / 17.84 MB, free: 5.234 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.002648/0.002648, allocations: 203.8 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 254.2 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9464/0.9464, allocations: 150 MB / 460.2 MB, free: 5.273 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 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.001883/0.001883, allocations: 74.53 kB / 0.6368 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1724, allocations: 89.13 MB / 0.7239 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6174/0.7897, allocations: 198.8 MB / 0.918 GB, free: 2.402 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01464/0.8044, allocations: 14.41 MB / 0.932 GB, free: 2.043 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.8062, allocations: 50.16 kB / 0.9321 GB, free: 2.043 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.8078, allocations: 0.5122 MB / 0.9326 GB, free: 2.035 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005225/0.813, allocations: 1.965 MB / 0.9345 GB, free: 1.941 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.8153, allocations: 0.8668 MB / 0.9354 GB, free: 1.918 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003146/0.8185, allocations: 2.562 MB / 0.9379 GB, free: 1.875 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.8199, allocations: 0.9247 MB / 0.9388 GB, free: 1.773 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004886/0.8248, allocations: 1.884 MB / 0.9406 GB, free: 1.645 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.8265, allocations: 0.9675 MB / 0.9415 GB, free: 1.523 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002081/0.8267, allocations: 106.3 kB / 0.9416 GB, free: 1.523 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.8291, allocations: 1.146 MB / 0.9428 GB, free: 1.512 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004871/0.8296, allocations: 0.5083 MB / 0.9433 GB, free: 1.453 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000677/0.8303, allocations: 0.6307 MB / 0.9439 GB, free: 1.148 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002552/0.8328, allocations: 1.922 MB / 0.9458 GB, free: 0.543 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8328, allocations: 4 kB / 0.9458 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8328, allocations: 1.219 kB / 0.9458 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.866e-05/0.8328, allocations: 0 / 0.9458 GB, free: 0.5391 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002304/0.8351, allocations: 1.489 MB / 0.9472 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.8352, allocations: 14.94 kB / 0.9472 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.768e-05/0.8352, allocations: 23.47 kB / 0.9473 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.8354, allocations: 146.6 kB / 0.9474 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.8368, allocations: 261.9 kB / 0.9476 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.8381, allocations: 0.8029 MB / 0.9484 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.026e-05/0.8382, allocations: 67.75 kB / 0.9485 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.8383, allocations: 96.03 kB / 0.9486 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.84, allocations: 1.173 MB / 0.9497 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.84, allocations: 2.625 kB / 0.9497 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.528e-05/0.8401, allocations: 43.66 kB / 0.9498 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.204e-05/0.8401, allocations: 32.25 kB / 0.9498 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.8415, allocations: 0.9014 MB / 0.9507 GB, free: 13.88 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006405/0.8479, allocations: 5.835 MB / 0.9564 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008394/0.8487, allocations: 0.5173 MB / 0.9569 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.8491, allocations: 297.2 kB / 0.9572 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006115/0.8497, allocations: 314.5 kB / 0.9575 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.8498, allocations: 38.38 kB / 0.9575 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=49): time 2.274e-06/0.8498, allocations: 0 / 0.9575 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.001575/0.8513, allocations: 0.806 MB / 0.9583 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.8514, allocations: 60.34 kB / 0.9583 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009382/0.8523, allocations: 0.7512 MB / 0.9591 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.8524, allocations: 36.83 kB / 0.9591 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.8528, allocations: 0.5233 MB / 0.9596 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.853, allocations: 184.2 kB / 0.9598 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.8532, allocations: 143.4 kB / 0.9599 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.8534, allocations: 337.3 kB / 0.9603 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.8537, allocations: 250.6 kB / 0.9605 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006699/0.8544, allocations: 0.5542 MB / 0.961 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.8554, allocations: 0.7944 MB / 0.9618 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.8554, allocations: 2.094 kB / 0.9618 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001235/0.8567, allocations: 0.8519 MB / 0.9627 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.8567, allocations: 8.969 kB / 0.9627 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.8567, allocations: 7.969 kB / 0.9627 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.8567, allocations: 13.75 kB / 0.9627 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.8572, allocations: 158.5 kB / 0.9628 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.8573, allocations: 21.09 kB / 0.9629 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/0.858, allocations: 97.33 kB / 0.9629 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/0.858, allocations: 35.27 kB / 0.963 GB, free: 4.195 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 initialization (86): * Single equations (assignments): 86 * 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 prepare postOptimizeDAE: time 0.0004662/0.8585, allocations: 327.8 kB / 0.9633 GB, free: 3.969 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.8586, allocations: 87.75 kB / 0.9634 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009772/0.8596, allocations: 0.6225 MB / 0.964 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.8596, allocations: 6.531 kB / 0.964 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8596, allocations: 11.88 kB / 0.964 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007177/0.8603, allocations: 0.5137 MB / 0.9645 GB, free: 3.281 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.8628, allocations: 1.677 MB / 0.9661 GB, free: 2.156 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8628, allocations: 0 / 0.9661 GB, free: 2.156 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004781/0.8633, allocations: 103.5 kB / 0.9662 GB, free: 2.145 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.8633, allocations: 8.922 kB / 0.9662 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.8633, allocations: 12.59 kB / 0.9663 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.8633, allocations: 5.938 kB / 0.9663 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8633, allocations: 2.469 kB / 0.9663 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.8646, allocations: 1.032 MB / 0.9673 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.8649, allocations: 224.8 kB / 0.9675 GB, free: 1.309 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.665e-05/0.865, allocations: 16.88 kB / 0.9675 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004416/0.8655, allocations: 19.98 kB / 0.9675 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.8656, allocations: 30.94 kB / 0.9676 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.8656, allocations: 27 kB / 0.9676 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000628/0.8662, allocations: 0.5168 MB / 0.9681 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8662, allocations: 0 / 0.9681 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009375/0.8672, allocations: 300.1 kB / 0.9684 GB, free: 0.9023 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.00212/0.8693, allocations: 1.657 MB / 0.97 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.8703, allocations: 0.5859 MB / 0.9706 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8703, allocations: 1.844 kB / 0.9706 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.8707, allocations: 264 kB / 0.9708 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.8726, allocations: 447.4 kB / 0.9712 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.883, allocations: 7.245 MB / 0.9783 GB, free: 7.48 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007637/0.8838, allocations: 1.122 MB / 0.9794 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008229/0.8846, allocations: 271.1 kB / 0.9797 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/0.8851, allocations: 359.3 kB / 0.98 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of SimCode: time 9.21e-07/0.8851, allocations: 0 / 0.98 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05156/0.9367, allocations: 23.27 MB / 1.003 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.844/10.78, allocations: 14.33 kB / 1.003 GB, free: 14.78 MB / 0.7325 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.61896757001523] Failed to read output from testmodel.py, exit status != 0: 10.919858376029879 10.944483254 10.107310262 Calling exit ...