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.001569/0.001569, allocations: 103.4 kB / 16.41 MB, free: 6.398 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.001428/0.001428, allocations: 187 kB / 17.34 MB, free: 5.691 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.09 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.8562/0.8562, allocations: 143.1 MB / 434.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 64.91 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.167, allocations: 82.04 MB / 0.6763 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5585/0.7255, allocations: 195.7 MB / 0.8675 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01934/0.7448, allocations: 14.38 MB / 0.8815 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.7463, allocations: 35.81 kB / 0.8815 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.7479, allocations: 0.5163 MB / 0.882 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004904/0.7528, allocations: 1.965 MB / 0.884 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.7551, allocations: 0.871 MB / 0.8848 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003441/0.7585, allocations: 2.569 MB / 0.8873 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.76, allocations: 0.9273 MB / 0.8882 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004146/0.7641, allocations: 1.647 MB / 0.8898 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.7658, allocations: 0.9229 MB / 0.8907 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001746/0.766, allocations: 107.9 kB / 0.8908 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.7682, allocations: 1.107 MB / 0.8919 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005225/0.7687, allocations: 0.5103 MB / 0.8924 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007501/0.7695, allocations: 0.6378 MB / 0.893 GB, free: 15.86 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002751/0.7722, allocations: 1.985 MB / 0.895 GB, free: 13.87 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7722, allocations: 3.938 kB / 0.895 GB, free: 13.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7722, allocations: 0 / 0.895 GB, free: 13.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.794e-05/0.7723, allocations: 0 / 0.895 GB, free: 13.86 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.002327/0.7746, allocations: 1.49 MB / 0.8964 GB, free: 12.32 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.7746, allocations: 15.91 kB / 0.8965 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.776, allocations: 255 kB / 0.8967 GB, free: 12.05 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.7773, allocations: 0.8005 MB / 0.8975 GB, free: 11.21 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.325e-05/0.7774, allocations: 74 kB / 0.8975 GB, free: 11.14 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.7775, allocations: 92 kB / 0.8976 GB, free: 11.05 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.7793, allocations: 1.177 MB / 0.8988 GB, free: 9.801 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.7793, allocations: 0 / 0.8988 GB, free: 9.801 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.594e-05/0.7794, allocations: 40 kB / 0.8988 GB, free: 9.762 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/0.7794, allocations: 33.94 kB / 0.8989 GB, free: 9.73 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.7809, allocations: 0.9054 MB / 0.8997 GB, free: 8.824 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.005987/0.7868, allocations: 5.753 MB / 0.9054 GB, free: 2.621 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008841/0.7877, allocations: 0.5206 MB / 0.9059 GB, free: 2.09 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/0.7882, allocations: 294.6 kB / 0.9061 GB, free: 1.801 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005955/0.7888, allocations: 311.7 kB / 0.9064 GB, free: 1.441 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.7888, allocations: 39 kB / 0.9065 GB, free: 1.395 MB / 0.67 GB Notification: Performance of pre-optimization done (n=49): time 1.964e-06/0.7888, allocations: 0 / 0.9065 GB, free: 1.395 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.001566/0.7904, allocations: 0.8108 MB / 0.9073 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.7904, allocations: 55.84 kB / 0.9073 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009473/0.7914, allocations: 0.7549 MB / 0.9081 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.7914, allocations: 37.7 kB / 0.9081 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/0.7918, allocations: 0.5155 MB / 0.9086 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.792, allocations: 182.4 kB / 0.9088 GB, free: 15 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.7922, allocations: 146.6 kB / 0.9089 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.7924, allocations: 337.9 kB / 0.9092 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.7927, allocations: 249.8 kB / 0.9095 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006738/0.7934, allocations: 0.5555 MB / 0.91 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.7945, allocations: 0.7956 MB / 0.9108 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.7945, allocations: 4 kB / 0.9108 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001304/0.7958, allocations: 0.8428 MB / 0.9116 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.7958, allocations: 8 kB / 0.9116 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.7958, allocations: 8 kB / 0.9116 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.7958, allocations: 12 kB / 0.9116 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.7964, allocations: 159.7 kB / 0.9118 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.7964, allocations: 17.34 kB / 0.9118 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006675/0.7971, allocations: 95.34 kB / 0.9119 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.7971, allocations: 37.55 kB / 0.9119 GB, free: 11.49 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.0004583/0.7976, allocations: 329.4 kB / 0.9123 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.7977, allocations: 91.44 kB / 0.9123 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.7988, allocations: 0.6373 MB / 0.913 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.7988, allocations: 8 kB / 0.913 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.7988, allocations: 4 kB / 0.913 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007509/0.7996, allocations: 0.5134 MB / 0.9135 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.8021, allocations: 1.671 MB / 0.9151 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.8021, allocations: 4 kB / 0.9151 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.8026, allocations: 103.8 kB / 0.9152 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.8026, allocations: 4 kB / 0.9152 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.8026, allocations: 19.98 kB / 0.9152 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.8026, allocations: 4 kB / 0.9152 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8026, allocations: 0 / 0.9152 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.804, allocations: 1.019 MB / 0.9162 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.8043, allocations: 240.3 kB / 0.9165 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.8044, allocations: 16 kB / 0.9165 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.8049, allocations: 15.98 kB / 0.9165 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.8049, allocations: 31.91 kB / 0.9165 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.805, allocations: 19.98 kB / 0.9165 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006416/0.8056, allocations: 0.5107 MB / 0.917 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8056, allocations: 0 / 0.917 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008704/0.8065, allocations: 299.5 kB / 0.9173 GB, free: 5.816 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.0005093/0.807, allocations: 216.2 kB / 0.9175 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009731/0.808, allocations: 0.5925 MB / 0.9181 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.808, allocations: 0 / 0.9181 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.8083, allocations: 259.6 kB / 0.9184 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.8102, allocations: 444.6 kB / 0.9188 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.8133, allocations: 2.042 MB / 0.9208 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007719/0.8141, allocations: 1.126 MB / 0.9219 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.8143, allocations: 79.42 kB / 0.922 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of SimCode: time 9.92e-07/0.8143, allocations: 0 / 0.922 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of Templates: time 0.02197/0.8363, allocations: 14.74 MB / 0.9364 GB, free: 2.387 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)