Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.000704/0.0007039, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.004385/0.004385, allocations: 171 kB / 16.26 MB, free: 6.613 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.153/1.153, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.8799/0.8799, allocations: 143.2 MB / 434.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002985, allocations: 12 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 83.41 MB / 0.598 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.3848/0.5124, allocations: 182.7 MB / 0.7763 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01338/0.5258, allocations: 12.97 MB / 0.789 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000806/0.5266, allocations: 27.81 kB / 0.789 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.5277, allocations: 358 kB / 0.7894 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.5303, allocations: 1.085 MB / 0.7904 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.5317, allocations: 0.6287 MB / 0.791 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002623/0.5344, allocations: 2.774 MB / 0.7937 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008713/0.5353, allocations: 0.7063 MB / 0.7944 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003151/0.5384, allocations: 1.638 MB / 0.796 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.5397, allocations: 0.6507 MB / 0.7967 GB, free: 296 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.177e-05/0.5398, allocations: 36 kB / 0.7967 GB, free: 260 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.5414, allocations: 0.9703 MB / 0.7976 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.5417, allocations: 335 kB / 0.798 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004538/0.5422, allocations: 471.3 kB / 0.7984 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.5438, allocations: 1.526 MB / 0.7999 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5438, allocations: 4 kB / 0.7999 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5438, allocations: 0 / 0.7999 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.5438, allocations: 4 kB / 0.7999 GB, free: 12.95 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001497/0.5453, allocations: 1.046 MB / 0.8009 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5454, allocations: 12.03 kB / 0.8009 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.5455, allocations: 126.5 kB / 0.8011 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.5467, allocations: 214.6 kB / 0.8013 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009343/0.5476, allocations: 0.6403 MB / 0.8019 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.5477, allocations: 58 kB / 0.802 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.5478, allocations: 76 kB / 0.802 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.5491, allocations: 0.9326 MB / 0.8029 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.5491, allocations: 0 / 0.8029 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.889e-05/0.5492, allocations: 43.88 kB / 0.803 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/0.5492, allocations: 25.31 kB / 0.803 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008972/0.5501, allocations: 0.6177 MB / 0.8036 GB, free: 8.98 MB / 0.6231 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.003725/0.5539, allocations: 4.594 MB / 0.8081 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007203/0.5546, allocations: 0.5502 MB / 0.8086 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.5549, allocations: 254 kB / 0.8089 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.5551, allocations: 101.1 kB / 0.809 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.5551, allocations: 38.56 kB / 0.809 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 1.974e-06/0.5551, allocations: 0 / 0.809 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002422/0.5575, allocations: 1.585 MB / 0.8106 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.5576, allocations: 115.1 kB / 0.8107 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007304/0.5583, allocations: 0.7116 MB / 0.8114 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.5584, allocations: 37.7 kB / 0.8114 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.5587, allocations: 419.8 kB / 0.8118 GB, free: 132 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.5588, allocations: 161.6 kB / 0.8119 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.884e-05/0.5589, allocations: 57.69 kB / 0.812 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.559, allocations: 330 kB / 0.8123 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.5592, allocations: 185.2 kB / 0.8125 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.5596, allocations: 417 kB / 0.8129 GB, free: 14.89 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.5617, allocations: 1.188 MB / 0.8141 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5617, allocations: 4 kB / 0.8141 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000908/0.5626, allocations: 0.6723 MB / 0.8147 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.5627, allocations: 4 kB / 0.8147 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.5627, allocations: 12.03 kB / 0.8147 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.5627, allocations: 8 kB / 0.8147 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.5631, allocations: 123.8 kB / 0.8149 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.5631, allocations: 15.92 kB / 0.8149 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.5637, allocations: 55.81 kB / 0.8149 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.5638, allocations: 28 kB / 0.8149 GB, free: 12.68 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003138/0.5641, allocations: 277.5 kB / 0.8152 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.5642, allocations: 83 kB / 0.8153 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.5644, allocations: 87.66 kB / 0.8154 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.5644, allocations: 8.078 kB / 0.8154 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5644, allocations: 4 kB / 0.8154 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006289/0.5651, allocations: 0.7038 MB / 0.8161 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.5672, allocations: 1.638 MB / 0.8177 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5672, allocations: 4.5 kB / 0.8177 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.5676, allocations: 107.8 kB / 0.8178 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.5676, allocations: 11.98 kB / 0.8178 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.5676, allocations: 12 kB / 0.8178 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.5677, allocations: 4 kB / 0.8178 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5677, allocations: 4 kB / 0.8178 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000935/0.5686, allocations: 0.873 MB / 0.8187 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.5688, allocations: 208 kB / 0.8189 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/0.5689, allocations: 16 kB / 0.8189 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/0.5694, allocations: 41.12 kB / 0.8189 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.5695, allocations: 43.83 kB / 0.819 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.5695, allocations: 16 kB / 0.819 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005465/0.5701, allocations: 0.5146 MB / 0.8195 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5701, allocations: 0 / 0.8195 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006451/0.5707, allocations: 200 kB / 0.8197 GB, free: 7.566 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001441/0.5722, allocations: 1.493 MB / 0.8211 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006792/0.5729, allocations: 478 kB / 0.8216 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5729, allocations: 4 kB / 0.8216 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.5732, allocations: 213.4 kB / 0.8218 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.5756, allocations: 454.3 kB / 0.8222 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008386/0.584, allocations: 7.281 MB / 0.8293 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.5845, allocations: 1.032 MB / 0.8303 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000678/0.5852, allocations: 200.3 kB / 0.8305 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/0.5856, allocations: 299.3 kB / 0.8308 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.5856, allocations: 0 / 0.8308 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.081/2.667, allocations: 21.15 MB / 0.8515 GB, free: 6.992 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003447/2.667, allocations: 291.4 kB / 0.8517 GB, free: 6.609 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/5.082, allocations: 0 / 0.8517 GB, free: 6.609 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)