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.001425/0.001425, allocations: 105.9 kB / 16.41 MB, free: 6.512 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.001238/0.001238, allocations: 183 kB / 17.34 MB, free: 5.742 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.16 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.8807/0.8807, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.2 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1659, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5677/0.7337, allocations: 195.2 MB / 0.867 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01884/0.7526, allocations: 14.36 MB / 0.881 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.7541, allocations: 39.75 kB / 0.881 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.7559, allocations: 0.4929 MB / 0.8815 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004813/0.7607, allocations: 1.886 MB / 0.8833 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.7633, allocations: 0.8678 MB / 0.8842 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003422/0.7667, allocations: 2.569 MB / 0.8867 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.7684, allocations: 1.115 MB / 0.8878 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004148/0.7726, allocations: 1.611 MB / 0.8894 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.7743, allocations: 0.9249 MB / 0.8903 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002935/0.7746, allocations: 108 kB / 0.8904 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.777, allocations: 1.099 MB / 0.8914 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006069/0.7776, allocations: 0.4987 MB / 0.8919 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.7787, allocations: 0.6338 MB / 0.8925 GB, free: 276 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003029/0.7817, allocations: 1.986 MB / 0.8945 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7818, allocations: 0 / 0.8945 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7818, allocations: 0 / 0.8945 GB, free: 14.28 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.609e-05/0.7818, allocations: 3.938 kB / 0.8945 GB, free: 14.27 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.002755/0.7846, allocations: 1.455 MB / 0.8959 GB, free: 12.77 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.7846, allocations: 12.03 kB / 0.8959 GB, free: 12.76 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.7861, allocations: 247.6 kB / 0.8962 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.7875, allocations: 0.7959 MB / 0.8969 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.947e-05/0.7876, allocations: 74 kB / 0.897 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.7878, allocations: 88 kB / 0.8971 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.7896, allocations: 1.177 MB / 0.8982 GB, free: 10.27 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.7897, allocations: 0 / 0.8982 GB, free: 10.27 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.664e-05/0.7898, allocations: 36 kB / 0.8983 GB, free: 10.23 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/0.7898, allocations: 41.88 kB / 0.8983 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.7913, allocations: 0.9054 MB / 0.8992 GB, free: 9.289 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.005876/0.7972, allocations: 5.743 MB / 0.9048 GB, free: 3.094 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008503/0.7981, allocations: 0.5399 MB / 0.9053 GB, free: 2.543 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000417/0.7985, allocations: 325.9 kB / 0.9056 GB, free: 2.227 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005965/0.7991, allocations: 307.7 kB / 0.9059 GB, free: 1.871 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.7991, allocations: 43 kB / 0.906 GB, free: 1.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=49): time 2.114e-06/0.7992, allocations: 0 / 0.906 GB, free: 1.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.001513/0.8007, allocations: 0.7948 MB / 0.9067 GB, free: 1.02 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.8007, allocations: 55.84 kB / 0.9068 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009274/0.8017, allocations: 0.7586 MB / 0.9075 GB, free: 188 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.8017, allocations: 37.7 kB / 0.9076 GB, free: 144 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.8021, allocations: 0.5066 MB / 0.9081 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.8023, allocations: 185.4 kB / 0.9083 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.8025, allocations: 142.5 kB / 0.9084 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8026, allocations: 337.9 kB / 0.9087 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.803, allocations: 245.9 kB / 0.9089 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/0.8036, allocations: 0.5557 MB / 0.9095 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.8047, allocations: 0.8073 MB / 0.9103 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.8047, allocations: 0 / 0.9103 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001333/0.806, allocations: 0.8421 MB / 0.9111 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.8061, allocations: 8 kB / 0.9111 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.8061, allocations: 8.844 kB / 0.9111 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.8061, allocations: 12 kB / 0.9111 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/0.8067, allocations: 159.8 kB / 0.9113 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/0.8067, allocations: 18.02 kB / 0.9113 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007586/0.8075, allocations: 79.2 kB / 0.9114 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.671e-05/0.8075, allocations: 36 kB / 0.9114 GB, free: 11.95 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.0004684/0.808, allocations: 338.3 kB / 0.9117 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.8082, allocations: 86.88 kB / 0.9118 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.8092, allocations: 0.6179 MB / 0.9124 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.8092, allocations: 8 kB / 0.9124 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.8092, allocations: 3.938 kB / 0.9124 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007007/0.8099, allocations: 0.5211 MB / 0.9129 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.8124, allocations: 1.667 MB / 0.9146 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.8124, allocations: 4 kB / 0.9146 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005282/0.813, allocations: 111.8 kB / 0.9147 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.813, allocations: 4 kB / 0.9147 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/0.813, allocations: 16 kB / 0.9147 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.813, allocations: 7.938 kB / 0.9147 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.813, allocations: 224 / 0.9147 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.8144, allocations: 1.023 MB / 0.9157 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.8147, allocations: 231.9 kB / 0.9159 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.8148, allocations: 11.98 kB / 0.9159 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005026/0.8153, allocations: 19.94 kB / 0.9159 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.8154, allocations: 31.95 kB / 0.916 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.8154, allocations: 20.14 kB / 0.916 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006309/0.8161, allocations: 0.5107 MB / 0.9165 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8161, allocations: 4 kB / 0.9165 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008533/0.8169, allocations: 291.4 kB / 0.9168 GB, free: 6.285 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.0004938/0.8175, allocations: 218.7 kB / 0.917 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009778/0.8184, allocations: 0.6152 MB / 0.9176 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8185, allocations: 0 / 0.9176 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.8188, allocations: 267.7 kB / 0.9178 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.8208, allocations: 436 kB / 0.9183 GB, free: 4.777 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.8239, allocations: 2.01 MB / 0.9202 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007574/0.8247, allocations: 1.122 MB / 0.9213 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.8249, allocations: 79.42 kB / 0.9214 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of SimCode: time 1.032e-06/0.8249, allocations: 0 / 0.9214 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of Templates: time 0.02194/0.8468, allocations: 14.67 MB / 0.9357 GB, free: 2.945 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)