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.001778/0.001778, allocations: 114.8 kB / 19.69 MB, free: 2.047 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.001588/0.001588, allocations: 223.3 kB / 23.01 MB, free: 4.93 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.9439/0.9439, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",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.002168/0.002168, allocations: 70.5 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1784, allocations: 89.17 MB / 0.7284 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6303/0.8086, allocations: 199.2 MB / 0.9229 GB, free: 220 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02079/0.8294, allocations: 14.51 MB / 0.937 GB, free: 1.664 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.831, allocations: 47.62 kB / 0.9371 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.833, allocations: 0.5163 MB / 0.9376 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006133/0.8392, allocations: 1.999 MB / 0.9395 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.8421, allocations: 0.895 MB / 0.9404 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004158/0.8462, allocations: 2.628 MB / 0.943 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.8479, allocations: 0.8016 MB / 0.9438 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006316/0.8542, allocations: 1.911 MB / 0.9456 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.8564, allocations: 0.9667 MB / 0.9466 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003987/0.8568, allocations: 108 kB / 0.9467 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/0.8596, allocations: 1.165 MB / 0.9478 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008661/0.8605, allocations: 0.5025 MB / 0.9483 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.8619, allocations: 0.6416 MB / 0.9489 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003808/0.8657, allocations: 1.915 MB / 0.9508 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.8657, allocations: 0 / 0.9508 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8657, allocations: 3.938 kB / 0.9508 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.379e-05/0.8658, allocations: 0 / 0.9508 GB, free: 3.535 MB / 0.7169 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.003284/0.8691, allocations: 1.411 MB / 0.9522 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.8691, allocations: 12.03 kB / 0.9522 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002948/0.8694, allocations: 147.6 kB / 0.9523 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.871, allocations: 262.9 kB / 0.9526 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.8727, allocations: 0.7331 MB / 0.9533 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.8728, allocations: 70 kB / 0.9534 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.8729, allocations: 96 kB / 0.9535 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.875, allocations: 1.173 MB / 0.9546 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.875, allocations: 3.938 kB / 0.9546 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.803e-05/0.8751, allocations: 40 kB / 0.9546 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.331e-05/0.8751, allocations: 30 kB / 0.9547 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.8767, allocations: 0.9015 MB / 0.9556 GB, free: 14.52 MB / 0.7325 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.006769/0.8835, allocations: 5.767 MB / 0.9612 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000926/0.8844, allocations: 0.5178 MB / 0.9617 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004557/0.8848, allocations: 290.6 kB / 0.962 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005165/0.8854, allocations: 96.34 kB / 0.9621 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.8854, allocations: 35 kB / 0.9621 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.164e-06/0.8854, allocations: 0 / 0.9621 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001668/0.8871, allocations: 0.8069 MB / 0.9629 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.8871, allocations: 59.84 kB / 0.9629 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.8882, allocations: 0.7587 MB / 0.9637 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/0.8883, allocations: 37.7 kB / 0.9637 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/0.8887, allocations: 0.5194 MB / 0.9642 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.8889, allocations: 186.4 kB / 0.9644 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.8891, allocations: 146.6 kB / 0.9645 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.8893, allocations: 334 kB / 0.9649 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.8897, allocations: 245.9 kB / 0.9651 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006897/0.8904, allocations: 0.5508 MB / 0.9656 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.8915, allocations: 0.8034 MB / 0.9664 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.8915, allocations: 4 kB / 0.9664 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001408/0.8929, allocations: 0.8507 MB / 0.9672 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.8929, allocations: 8 kB / 0.9673 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.8929, allocations: 8 kB / 0.9673 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.893, allocations: 16.03 kB / 0.9673 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/0.8936, allocations: 155.7 kB / 0.9674 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.899e-05/0.8936, allocations: 19.88 kB / 0.9674 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007333/0.8943, allocations: 87.39 kB / 0.9675 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/0.8944, allocations: 36 kB / 0.9676 GB, free: 1.43 MB / 0.7325 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.0005177/0.8949, allocations: 325.5 kB / 0.9679 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.8951, allocations: 99.44 kB / 0.968 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.8961, allocations: 0.614 MB / 0.9686 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.8961, allocations: 7.984 kB / 0.9686 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.8962, allocations: 3.938 kB / 0.9686 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007659/0.8969, allocations: 0.5212 MB / 0.9691 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.8997, allocations: 1.643 MB / 0.9707 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.8997, allocations: 4 kB / 0.9707 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005162/0.9002, allocations: 111.8 kB / 0.9708 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.9002, allocations: 4 kB / 0.9708 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.9003, allocations: 16 kB / 0.9708 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.9003, allocations: 8.219 kB / 0.9708 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.9003, allocations: 3.984 kB / 0.9708 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.9017, allocations: 1.031 MB / 0.9718 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/0.9021, allocations: 155.3 kB / 0.972 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.9023, allocations: 8 kB / 0.972 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.9027, allocations: 19.98 kB / 0.972 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.9028, allocations: 31.94 kB / 0.972 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.9028, allocations: 25.06 kB / 0.9721 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006936/0.9035, allocations: 0.5146 MB / 0.9726 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6e-08/0.9035, allocations: 0 / 0.9726 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009486/0.9045, allocations: 299.4 kB / 0.9729 GB, free: 11.87 MB / 0.7481 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.002127/0.9066, allocations: 1.657 MB / 0.9745 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.9077, allocations: 0.5807 MB / 0.975 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.9077, allocations: 4 kB / 0.975 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.9081, allocations: 263.5 kB / 0.9753 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.9099, allocations: 446 kB / 0.9757 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.9207, allocations: 7.25 MB / 0.9828 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009097/0.9216, allocations: 1.118 MB / 0.9839 GB, free: 128 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008146/0.9224, allocations: 263.1 kB / 0.9841 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/0.923, allocations: 367.3 kB / 0.9845 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of SimCode: time 1.152e-06/0.923, allocations: 0 / 0.9845 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06714/0.9901, allocations: 23.83 MB / 1.008 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.26, allocations: 4.453 kB / 1.008 GB, free: 8.062 MB / 0.7794 GB " [Timeout remaining time 647] (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 sys.exit(0), Time elapsed: 17.01876701787114] Failed to read output from testmodel.py, exit status != 0: 13.378164641093463 13.404754523 12.534157824 Calling exit ...