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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005546/0.005546, allocations: 102.5 kB / 15.73 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 199.1 kB / 16.68 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.9077/0.9077, allocations: 143 MB / 433.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 64.8 kB / 0.5955 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1739, allocations: 82.03 MB / 0.6756 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5862/0.7602, allocations: 195.2 MB / 0.8663 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.7772, allocations: 14.35 MB / 0.8803 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.7785, allocations: 39.75 kB / 0.8803 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.78, allocations: 0.5046 MB / 0.8808 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004411/0.7845, allocations: 1.881 MB / 0.8827 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.7866, allocations: 0.8646 MB / 0.8835 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00335/0.79, allocations: 2.581 MB / 0.886 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.7916, allocations: 1.107 MB / 0.8871 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004877/0.7965, allocations: 1.622 MB / 0.8887 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.7981, allocations: 0.9108 MB / 0.8896 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.7983, allocations: 108 kB / 0.8897 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/0.8006, allocations: 1.103 MB / 0.8908 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005605/0.8012, allocations: 0.4987 MB / 0.8912 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006295/0.8018, allocations: 0.6338 MB / 0.8919 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.8042, allocations: 1.983 MB / 0.8938 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8043, allocations: 7.875 kB / 0.8938 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8043, allocations: 0 / 0.8938 GB, free: 14.43 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.8043, allocations: 0 / 0.8938 GB, free: 14.43 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.002/0.8063, allocations: 1.449 MB / 0.8952 GB, free: 12.93 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.8063, allocations: 8.031 kB / 0.8952 GB, free: 12.93 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.8077, allocations: 254.4 kB / 0.8955 GB, free: 12.68 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.8089, allocations: 0.7998 MB / 0.8963 GB, free: 11.83 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.278e-05/0.809, allocations: 70 kB / 0.8963 GB, free: 11.77 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.8092, allocations: 88 kB / 0.8964 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.8108, allocations: 1.169 MB / 0.8975 GB, free: 10.44 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.8109, allocations: 4 kB / 0.8976 GB, free: 10.43 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/0.8109, allocations: 40 kB / 0.8976 GB, free: 10.39 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.436e-05/0.811, allocations: 41.92 kB / 0.8976 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.8123, allocations: 0.9015 MB / 0.8985 GB, free: 9.453 MB / 0.67 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.005135/0.8174, allocations: 5.746 MB / 0.9041 GB, free: 3.254 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/0.8183, allocations: 0.533 MB / 0.9046 GB, free: 2.711 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.8187, allocations: 318.5 kB / 0.9049 GB, free: 2.398 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005643/0.8193, allocations: 319.7 kB / 0.9053 GB, free: 2.031 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.8193, allocations: 35 kB / 0.9053 GB, free: 1.988 MB / 0.67 GB Notification: Performance of pre-optimization done (n=49): time 1.884e-06/0.8193, allocations: 0 / 0.9053 GB, free: 1.988 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.001388/0.8207, allocations: 0.8026 MB / 0.9061 GB, free: 1.18 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.8208, allocations: 59.84 kB / 0.9061 GB, free: 1.109 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008202/0.8216, allocations: 0.7508 MB / 0.9069 GB, free: 356 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/0.8217, allocations: 37.7 kB / 0.9069 GB, free: 312 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.822, allocations: 0.5067 MB / 0.9074 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.8222, allocations: 181.5 kB / 0.9076 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.8224, allocations: 142.5 kB / 0.9077 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.8225, allocations: 341.9 kB / 0.908 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.8229, allocations: 249.8 kB / 0.9083 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/0.8235, allocations: 0.5547 MB / 0.9088 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009404/0.8245, allocations: 0.7918 MB / 0.9096 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.8245, allocations: 4 kB / 0.9096 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001319/0.8258, allocations: 0.8425 MB / 0.9104 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.8258, allocations: 14.12 kB / 0.9104 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.8258, allocations: 12 kB / 0.9104 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.8259, allocations: 8 kB / 0.9104 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.8264, allocations: 155.8 kB / 0.9106 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.8265, allocations: 15.94 kB / 0.9106 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007128/0.8272, allocations: 95.67 kB / 0.9107 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-05/0.8273, allocations: 35.98 kB / 0.9107 GB, free: 12.1 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.0003915/0.8277, allocations: 329.4 kB / 0.911 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.8278, allocations: 82.97 kB / 0.9111 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009778/0.8288, allocations: 0.6295 MB / 0.9117 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.8288, allocations: 4 kB / 0.9117 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.8288, allocations: 4 kB / 0.9117 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000739/0.8296, allocations: 0.5173 MB / 0.9122 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.8319, allocations: 1.674 MB / 0.9139 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.8319, allocations: 4.047 kB / 0.9139 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.8324, allocations: 115.8 kB / 0.914 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.8324, allocations: 0 / 0.914 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.8325, allocations: 19.98 kB / 0.914 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.8325, allocations: 4 kB / 0.914 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.8325, allocations: 9.109 kB / 0.914 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.8338, allocations: 1.019 MB / 0.915 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.834, allocations: 227.9 kB / 0.9152 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.8342, allocations: 8 kB / 0.9152 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.8346, allocations: 23.98 kB / 0.9153 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.8347, allocations: 27.97 kB / 0.9153 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.8347, allocations: 19.98 kB / 0.9153 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006092/0.8354, allocations: 0.5107 MB / 0.9158 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8354, allocations: 0 / 0.9158 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008422/0.8362, allocations: 295.3 kB / 0.9161 GB, free: 6.441 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.0004835/0.8367, allocations: 210.7 kB / 0.9163 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009829/0.8377, allocations: 0.6199 MB / 0.9169 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8377, allocations: 4.062 kB / 0.9169 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.8381, allocations: 271.7 kB / 0.9172 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.84, allocations: 443.3 kB / 0.9176 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.8426, allocations: 1.919 MB / 0.9195 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/0.8433, allocations: 1.122 MB / 0.9206 GB, free: 1.809 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006644/0.844, allocations: 267.1 kB / 0.9208 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.8442, allocations: 75.42 kB / 0.9209 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of SimCode: time 3.61e-07/0.8442, allocations: 3.938 kB / 0.9209 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of Templates: time 0.0252/0.8694, allocations: 15.6 MB / 0.9361 GB, free: 2.09 MB / 0.7012 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (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)