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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001061/0.001061, allocations: 196.8 kB / 16.26 MB, free: 6.625 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.236/1.236, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.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.9103/0.9103, allocations: 143 MB / 433.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.91 kB / 0.5138 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1419, allocations: 82.04 MB / 0.5939 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4483/0.5902, allocations: 192.7 MB / 0.782 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01764/0.6079, allocations: 14.23 MB / 0.7959 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.6096, allocations: 31.81 kB / 0.796 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.6113, allocations: 449.7 kB / 0.7964 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004795/0.6161, allocations: 1.763 MB / 0.7981 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.6186, allocations: 0.7837 MB / 0.7989 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003223/0.6218, allocations: 2.581 MB / 0.8014 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.6233, allocations: 1.079 MB / 0.8024 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004721/0.628, allocations: 1.578 MB / 0.804 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.6298, allocations: 0.9924 MB / 0.805 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.63, allocations: 104 kB / 0.8051 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.6324, allocations: 1.146 MB / 0.8062 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005041/0.633, allocations: 0.4987 MB / 0.8067 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000808/0.6338, allocations: 0.6339 MB / 0.8073 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.6362, allocations: 2.037 MB / 0.8093 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6362, allocations: 0 / 0.8093 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6362, allocations: 4 kB / 0.8093 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.066e-05/0.6363, allocations: 0 / 0.8093 GB, free: 0.918 MB / 0.6231 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.00198/0.6382, allocations: 1.46 MB / 0.8107 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.6383, allocations: 8.031 kB / 0.8107 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.6384, allocations: 148.4 kB / 0.8109 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.6397, allocations: 262.3 kB / 0.8111 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.6408, allocations: 0.7492 MB / 0.8118 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.79e-05/0.6409, allocations: 73.94 kB / 0.8119 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.641, allocations: 96 kB / 0.812 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.6426, allocations: 1.169 MB / 0.8131 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.6427, allocations: 0 / 0.8131 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.334e-05/0.6427, allocations: 43.94 kB / 0.8132 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.6428, allocations: 30 kB / 0.8132 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.6441, allocations: 0.9054 MB / 0.8141 GB, free: 11.82 MB / 0.6387 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.005279/0.6494, allocations: 5.726 MB / 0.8197 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000835/0.6502, allocations: 0.5398 MB / 0.8202 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/0.6507, allocations: 323.1 kB / 0.8205 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005706/0.6513, allocations: 315.7 kB / 0.8208 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.6513, allocations: 46.88 kB / 0.8209 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 2.054e-06/0.6513, allocations: 0 / 0.8209 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001458/0.6528, allocations: 0.7948 MB / 0.8216 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.6528, allocations: 55.84 kB / 0.8217 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000852/0.6537, allocations: 0.751 MB / 0.8224 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.6537, allocations: 37.7 kB / 0.8225 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.6541, allocations: 0.5065 MB / 0.823 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.6542, allocations: 177.5 kB / 0.8231 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.6544, allocations: 138.5 kB / 0.8233 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.6546, allocations: 341.9 kB / 0.8236 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.6549, allocations: 249.9 kB / 0.8238 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.6556, allocations: 0.5507 MB / 0.8244 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009547/0.6565, allocations: 0.7997 MB / 0.8251 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.6565, allocations: 4 kB / 0.8251 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00121/0.6578, allocations: 0.8466 MB / 0.826 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6578, allocations: 12.19 kB / 0.826 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.6578, allocations: 8 kB / 0.826 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.6578, allocations: 12 kB / 0.826 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/0.6584, allocations: 151.8 kB / 0.8261 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.6584, allocations: 19.92 kB / 0.8262 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008376/0.6592, allocations: 147 kB / 0.8263 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/0.6593, allocations: 43.7 kB / 0.8263 GB, free: 14.42 MB / 0.6544 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.0003955/0.6597, allocations: 329.5 kB / 0.8267 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.6598, allocations: 86.97 kB / 0.8267 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009504/0.6608, allocations: 0.6179 MB / 0.8274 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.6608, allocations: 8 kB / 0.8274 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6608, allocations: 4 kB / 0.8274 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006839/0.6615, allocations: 0.5134 MB / 0.8279 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.6638, allocations: 1.675 MB / 0.8295 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6638, allocations: 7.938 kB / 0.8295 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005195/0.6644, allocations: 107.9 kB / 0.8296 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.6644, allocations: 4 kB / 0.8296 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.6644, allocations: 12 kB / 0.8296 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.6644, allocations: 4 kB / 0.8296 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6644, allocations: 3.938 kB / 0.8296 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.6657, allocations: 1.015 MB / 0.8306 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.666, allocations: 227.9 kB / 0.8308 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.6661, allocations: 16 kB / 0.8309 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005726/0.6667, allocations: 63.78 kB / 0.8309 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.6668, allocations: 35.89 kB / 0.831 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.6668, allocations: 20 kB / 0.831 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005783/0.6674, allocations: 0.5107 MB / 0.8315 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6674, allocations: 3.938 kB / 0.8315 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008604/0.6683, allocations: 299.4 kB / 0.8318 GB, free: 8.719 MB / 0.6544 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.001946/0.6702, allocations: 1.664 MB / 0.8334 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.6714, allocations: 0.7125 MB / 0.8341 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6714, allocations: 4 kB / 0.8341 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.6718, allocations: 271.6 kB / 0.8343 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.6737, allocations: 448.8 kB / 0.8348 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009821/0.6835, allocations: 7.856 MB / 0.8424 GB, free: 13.37 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006865/0.6842, allocations: 1.122 MB / 0.8435 GB, free: 12.22 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000881/0.6851, allocations: 267.1 kB / 0.8438 GB, free: 11.96 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.6856, allocations: 363.3 kB / 0.8441 GB, free: 11.61 MB / 0.67 GB Notification: Performance of SimCode: time 5.92e-07/0.6856, allocations: 3.938 kB / 0.8441 GB, free: 11.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8439/1.529, allocations: 22.74 MB / 0.8664 GB, free: 213.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/1.53, allocations: 245.3 kB / 0.8666 GB, free: 212.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/4.056, allocations: 4 kB / 0.8666 GB, free: 212.9 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)