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.001723/0.001723, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.002138/0.002138, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.544/1.544, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] 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 1.034/1.034, allocations: 145 MB / 453.8 MB, free: 0.7422 MB / 350.1 MB " [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: BuildSysPro 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.002081/0.002081, allocations: 69.88 kB / 0.6285 GB, free: 10.14 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1879, allocations: 87.82 MB / 0.7143 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.7254/0.9133, allocations: 198.8 MB / 0.9085 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02156/0.9348, allocations: 14.45 MB / 0.9226 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.9364, allocations: 51.56 kB / 0.9226 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.9382, allocations: 0.5124 MB / 0.9231 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005867/0.944, allocations: 1.956 MB / 0.925 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.9468, allocations: 0.8751 MB / 0.9259 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003833/0.9506, allocations: 2.569 MB / 0.9284 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.952, allocations: 0.9343 MB / 0.9293 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004795/0.9568, allocations: 1.665 MB / 0.9309 GB, free: 2.016 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.9587, allocations: 0.991 MB / 0.9319 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.9589, allocations: 108 kB / 0.932 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.9617, allocations: 1.169 MB / 0.9331 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006263/0.9623, allocations: 0.5024 MB / 0.9336 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008954/0.9632, allocations: 0.6338 MB / 0.9343 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003408/0.9666, allocations: 1.989 MB / 0.9362 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9666, allocations: 0 / 0.9362 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9666, allocations: 4 kB / 0.9362 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.281e-05/0.9666, allocations: 0 / 0.9362 GB, free: 12.61 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.002634/0.9693, allocations: 1.482 MB / 0.9376 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.9693, allocations: 16.03 kB / 0.9377 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.9708, allocations: 259 kB / 0.9379 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.9723, allocations: 0.8044 MB / 0.9387 GB, free: 9.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/0.9724, allocations: 66 kB / 0.9388 GB, free: 9.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.9726, allocations: 95.98 kB / 0.9388 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.9745, allocations: 1.173 MB / 0.94 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.9745, allocations: 7.953 kB / 0.94 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.225e-05/0.9746, allocations: 40 kB / 0.94 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-05/0.9747, allocations: 37.94 kB / 0.9401 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.9762, allocations: 0.9054 MB / 0.941 GB, free: 7.559 MB / 0.7169 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.006804/0.983, allocations: 5.748 MB / 0.9466 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009406/0.984, allocations: 0.5143 MB / 0.9471 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004732/0.9845, allocations: 298.6 kB / 0.9474 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006243/0.9851, allocations: 311.7 kB / 0.9477 GB, free: 188 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.9851, allocations: 39 kB / 0.9477 GB, free: 140 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=49): time 3.146e-06/0.9851, allocations: 4 kB / 0.9477 GB, free: 136 kB / 0.7169 GB Notification: Performance of matching and sorting (n=49): time 0.001697/0.9868, allocations: 0.803 MB / 0.9485 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.9869, allocations: 55.84 kB / 0.9485 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009889/0.9879, allocations: 0.7471 MB / 0.9493 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/0.9879, allocations: 37.7 kB / 0.9493 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/0.9884, allocations: 0.5233 MB / 0.9498 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.9886, allocations: 186.4 kB / 0.95 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.9888, allocations: 146.6 kB / 0.9501 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.989, allocations: 333.9 kB / 0.9504 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.9894, allocations: 245.9 kB / 0.9507 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007319/0.9901, allocations: 0.5557 MB / 0.9512 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.9913, allocations: 0.8034 MB / 0.952 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.9913, allocations: 4 kB / 0.952 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001407/0.9927, allocations: 0.8543 MB / 0.9528 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.9927, allocations: 8 kB / 0.9529 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.9927, allocations: 8.875 kB / 0.9529 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.9928, allocations: 12 kB / 0.9529 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.9934, allocations: 159.7 kB / 0.953 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/0.9934, allocations: 23.86 kB / 0.9531 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007123/0.9941, allocations: 88.27 kB / 0.9531 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/0.9942, allocations: 32 kB / 0.9532 GB, free: 10.23 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.0004974/0.9947, allocations: 333.4 kB / 0.9535 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.9948, allocations: 87.44 kB / 0.9536 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.9959, allocations: 0.6257 MB / 0.9542 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.9959, allocations: 4 kB / 0.9542 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.996, allocations: 0 / 0.9542 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008091/0.9968, allocations: 0.525 MB / 0.9547 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.9995, allocations: 1.667 MB / 0.9563 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.9995, allocations: 0 / 0.9563 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/1, allocations: 115.8 kB / 0.9564 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/1, allocations: 4 kB / 0.9564 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/1, allocations: 8 kB / 0.9564 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/1, allocations: 4 kB / 0.9564 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1, allocations: 8.203 kB / 0.9565 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/1.002, allocations: 1.028 MB / 0.9575 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/1.002, allocations: 228.3 kB / 0.9577 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/1.002, allocations: 19.98 kB / 0.9577 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/1.003, allocations: 12 kB / 0.9577 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/1.003, allocations: 35.89 kB / 0.9577 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/1.003, allocations: 16 kB / 0.9578 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007434/1.004, allocations: 0.5146 MB / 0.9583 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.004, allocations: 4 kB / 0.9583 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001028/1.005, allocations: 299.5 kB / 0.9585 GB, free: 4.555 MB / 0.7325 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.0005443/1.005, allocations: 197.9 kB / 0.9587 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001049/1.006, allocations: 0.5928 MB / 0.9593 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.006, allocations: 4.062 kB / 0.9593 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004227/1.007, allocations: 263.4 kB / 0.9596 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/1.009, allocations: 445.4 kB / 0.96 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/1.012, allocations: 1.948 MB / 0.9619 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008807/1.013, allocations: 1.129 MB / 0.963 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007637/1.013, allocations: 263.1 kB / 0.9633 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/1.014, allocations: 75.36 kB / 0.9633 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/1.014, allocations: 0 / 0.9633 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of Templates: time 0.0306/1.044, allocations: 15.75 MB / 0.9787 GB, free: 72 kB / 0.7481 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.264380883425474] Failed to read output from testmodel.py, exit status != 0: 1.052892342209816 1.066587647 0.096871447 Calling exit ...