Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.0008065/0.0008065, allocations: 92.7 kB / 20.21 MB, free: 4.227 MB / 18.57 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.0007634/0.0007634, allocations: 161.7 kB / 23.52 MB, free: 0.918 MB / 18.57 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 0.9181/0.9181, allocations: 177.2 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5528/0.5528, allocations: 110.2 MB / 370.6 MB, free: 12.45 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 474.4 MB, free: 15.22 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.656e-05, allocations: 2.969 kB / 474.4 MB, free: 15.22 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.1518/0.1519, allocations: 172.6 MB / 0.6319 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.1639, allocations: 13.14 MB / 0.6447 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.165, allocations: 47.62 kB / 0.6447 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.1661, allocations: 0.4967 MB / 0.6452 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003237/0.1694, allocations: 2.001 MB / 0.6472 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.1716, allocations: 0.9425 MB / 0.6481 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.2701/0.4417, allocations: 2.616 MB / 0.6506 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.4432, allocations: 0.814 MB / 0.6514 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003963/0.4472, allocations: 1.974 MB / 0.6534 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.4484, allocations: 0.8831 MB / 0.6542 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.4486, allocations: 108.2 kB / 0.6543 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.4503, allocations: 0.9458 MB / 0.6553 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003575/0.4506, allocations: 0.5334 MB / 0.6558 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004418/0.4511, allocations: 463.4 kB / 0.6562 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.4529, allocations: 2.024 MB / 0.6582 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4529, allocations: 0 / 0.6582 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4529, allocations: 0.5 kB / 0.6582 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.885e-05/0.453, allocations: 1.656 kB / 0.6582 GB, free: 11.63 MB / 0.5573 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.001838/0.4548, allocations: 1.397 MB / 0.6596 GB, free: 26.93 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.4548, allocations: 11.91 kB / 0.6596 GB, free: 26.93 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008781/0.4557, allocations: 354.7 kB / 0.6599 GB, free: 26.84 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008283/0.4565, allocations: 0.7634 MB / 0.6607 GB, free: 26.58 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.4566, allocations: 71.17 kB / 0.6607 GB, free: 26.58 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-05/0.4567, allocations: 95 kB / 0.6608 GB, free: 26.58 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.4577, allocations: 1.3 MB / 0.6621 GB, free: 26.2 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.4577, allocations: 3.75 kB / 0.6621 GB, free: 26.2 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.4578, allocations: 37.84 kB / 0.6621 GB, free: 26.2 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.4578, allocations: 33.44 kB / 0.6622 GB, free: 26.2 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008474/0.4586, allocations: 0.9023 MB / 0.663 GB, free: 26.19 MB / 0.573 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.00283/0.4615, allocations: 4.036 MB / 0.667 GB, free: 24.12 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005434/0.462, allocations: 0.5097 MB / 0.6675 GB, free: 24.09 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.4622, allocations: 293.9 kB / 0.6678 GB, free: 24.09 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.4625, allocations: 84.48 kB / 0.6678 GB, free: 24.08 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.4625, allocations: 42.81 kB / 0.6679 GB, free: 24.04 MB / 0.573 GB Notification: Performance of pre-optimization done (n=49): time 1.874e-06/0.4625, allocations: 1.094 kB / 0.6679 GB, free: 24.04 MB / 0.573 GB Notification: Performance of matching and sorting (n=49): time 0.0009198/0.4634, allocations: 0.8173 MB / 0.6687 GB, free: 23.96 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.4635, allocations: 57.19 kB / 0.6687 GB, free: 23.89 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005143/0.464, allocations: 0.6542 MB / 0.6694 GB, free: 23.75 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.464, allocations: 39.98 kB / 0.6694 GB, free: 23.71 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.4642, allocations: 0.5156 MB / 0.6699 GB, free: 23.44 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/0.4643, allocations: 185.1 kB / 0.6701 GB, free: 23.32 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.4644, allocations: 144.9 kB / 0.6702 GB, free: 23.3 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4645, allocations: 387.3 kB / 0.6706 GB, free: 22.98 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.4648, allocations: 248.2 kB / 0.6708 GB, free: 22.98 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/0.4652, allocations: 0.8342 MB / 0.6717 GB, free: 22.29 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005992/0.4658, allocations: 0.8001 MB / 0.6724 GB, free: 22.01 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4658, allocations: 4.406 kB / 0.6724 GB, free: 22.01 MB / 0.573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000846/0.4666, allocations: 0.8789 MB / 0.6733 GB, free: 21.92 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4666, allocations: 10.75 kB / 0.6733 GB, free: 21.92 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.4666, allocations: 8.203 kB / 0.6733 GB, free: 21.92 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/0.4667, allocations: 12.66 kB / 0.6733 GB, free: 21.92 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.467, allocations: 152 kB / 0.6735 GB, free: 21.92 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/0.467, allocations: 20.36 kB / 0.6735 GB, free: 21.92 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.4674, allocations: 81.08 kB / 0.6736 GB, free: 21.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.4674, allocations: 34.3 kB / 0.6736 GB, free: 21.88 MB / 0.573 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.0003057/0.4677, allocations: 335.1 kB / 0.6739 GB, free: 21.76 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.4679, allocations: 100.9 kB / 0.674 GB, free: 21.71 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007529/0.4686, allocations: 0.6105 MB / 0.6746 GB, free: 21.66 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.4686, allocations: 7.422 kB / 0.6746 GB, free: 21.66 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4686, allocations: 2.906 kB / 0.6746 GB, free: 21.66 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006195/0.4692, allocations: 0.5193 MB / 0.6751 GB, free: 21.59 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.4709, allocations: 1.447 MB / 0.6765 GB, free: 21.28 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4709, allocations: 3.281 kB / 0.6765 GB, free: 21.28 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.4712, allocations: 109.2 kB / 0.6766 GB, free: 21.28 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.4712, allocations: 5.859 kB / 0.6767 GB, free: 21.28 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.4712, allocations: 19.42 kB / 0.6767 GB, free: 21.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.4712, allocations: 3.469 kB / 0.6767 GB, free: 21.27 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.4712, allocations: 4.672 kB / 0.6767 GB, free: 21.27 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.4724, allocations: 1.022 MB / 0.6777 GB, free: 21.03 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.4726, allocations: 141.6 kB / 0.6778 GB, free: 20.98 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.4727, allocations: 17.95 kB / 0.6778 GB, free: 20.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.4729, allocations: 15.53 kB / 0.6778 GB, free: 20.98 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.473, allocations: 40.98 kB / 0.6779 GB, free: 20.97 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.473, allocations: 18.78 kB / 0.6779 GB, free: 20.97 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004391/0.4734, allocations: 447.3 kB / 0.6783 GB, free: 20.88 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.4734, allocations: 1.203 kB / 0.6783 GB, free: 20.88 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006337/0.4741, allocations: 312.3 kB / 0.6786 GB, free: 20.83 MB / 0.573 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.000388/0.4744, allocations: 200.6 kB / 0.6788 GB, free: 20.74 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0007664/0.4752, allocations: 0.5866 MB / 0.6794 GB, free: 20.73 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4752, allocations: 1.781 kB / 0.6794 GB, free: 20.73 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.4755, allocations: 263.3 kB / 0.6796 GB, free: 20.73 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.4765, allocations: 391.1 kB / 0.68 GB, free: 20.69 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.4788, allocations: 1.853 MB / 0.6818 GB, free: 19.93 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.4794, allocations: 0.5204 MB / 0.6823 GB, free: 19.82 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006168/0.48, allocations: 249.4 kB / 0.6826 GB, free: 19.81 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.4802, allocations: 69.53 kB / 0.6826 GB, free: 19.8 MB / 0.573 GB Notification: Performance of SimCode: time 5.61e-07/0.4802, allocations: 0 / 0.6826 GB, free: 19.8 MB / 0.573 GB Notification: Performance of Templates: time 0.01648/0.4967, allocations: 14.47 MB / 0.6968 GB, free: 18.46 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.104890929535031] Failed to read output from testmodel.py, exit status != 0: 0.501907367259264 0.5112842900000001 0.05505915 Calling exit ...