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.001166/0.001166, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001185/0.001185, allocations: 191.5 kB / 16.14 MB, free: 6.688 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.219/1.219, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.8782/0.8782, allocations: 143 MB / 433 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 63.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1312, allocations: 82.04 MB / 0.5937 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.3759/0.5071, allocations: 185.1 MB / 0.7745 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01362/0.5208, allocations: 13.14 MB / 0.7873 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006562/0.5215, allocations: 31.81 kB / 0.7873 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009509/0.5224, allocations: 350 kB / 0.7877 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.5245, allocations: 1.085 MB / 0.7887 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.5258, allocations: 0.6331 MB / 0.7894 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002277/0.5281, allocations: 2.776 MB / 0.7921 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007845/0.5289, allocations: 0.7253 MB / 0.7928 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002977/0.5319, allocations: 1.662 MB / 0.7944 GB, free: 144 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.5332, allocations: 0.6917 MB / 0.7951 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-05/0.5333, allocations: 44 kB / 0.7951 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.5348, allocations: 0.974 MB / 0.7961 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002986/0.5351, allocations: 355 kB / 0.7964 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.5356, allocations: 477.6 kB / 0.7969 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.537, allocations: 1.55 MB / 0.7984 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.5371, allocations: 4 kB / 0.7984 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of FrontEnd: time 6.52e-07/0.5371, allocations: 0 / 0.7984 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.5371, allocations: 0 / 0.7984 GB, free: 12.06 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.001629/0.5387, allocations: 1.226 MB / 0.7996 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5387, allocations: 16.02 kB / 0.7996 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.5389, allocations: 118.5 kB / 0.7997 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.54, allocations: 214.6 kB / 0.7999 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000835/0.5408, allocations: 0.648 MB / 0.8005 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.5409, allocations: 58 kB / 0.8006 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-05/0.541, allocations: 79.98 kB / 0.8007 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.5421, allocations: 0.9288 MB / 0.8016 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.5422, allocations: 4 kB / 0.8016 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.787e-05/0.5422, allocations: 35.94 kB / 0.8016 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.5423, allocations: 33.25 kB / 0.8016 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009773/0.5433, allocations: 0.6177 MB / 0.8022 GB, free: 7.906 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.003892/0.5472, allocations: 4.586 MB / 0.8067 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007246/0.5479, allocations: 0.5415 MB / 0.8073 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.5482, allocations: 254.8 kB / 0.8075 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.5484, allocations: 109.1 kB / 0.8076 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.5484, allocations: 38.56 kB / 0.8076 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 1.503e-06/0.5484, allocations: 0 / 0.8076 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002508/0.551, allocations: 1.585 MB / 0.8092 GB, free: 384 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.551, allocations: 115.1 kB / 0.8093 GB, free: 244 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007538/0.5518, allocations: 0.7116 MB / 0.81 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.5518, allocations: 37.7 kB / 0.81 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.5521, allocations: 415.7 kB / 0.8104 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.5523, allocations: 161.7 kB / 0.8106 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.5524, allocations: 122.2 kB / 0.8107 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5526, allocations: 326 kB / 0.811 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.5529, allocations: 193.1 kB / 0.8112 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/0.5533, allocations: 417.1 kB / 0.8116 GB, free: 13.76 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.00208/0.5554, allocations: 1.181 MB / 0.8127 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.5554, allocations: 7.984 kB / 0.8127 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000897/0.5563, allocations: 0.6599 MB / 0.8134 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5563, allocations: 8.719 kB / 0.8134 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5563, allocations: 8 kB / 0.8134 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.5564, allocations: 12 kB / 0.8134 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.5568, allocations: 127.8 kB / 0.8135 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.5568, allocations: 11.94 kB / 0.8136 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/0.5574, allocations: 59.81 kB / 0.8136 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.5574, allocations: 31.98 kB / 0.8136 GB, free: 11.55 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 system: 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.0002989/0.5577, allocations: 272 kB / 0.8139 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.5579, allocations: 86.98 kB / 0.814 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.558, allocations: 91.75 kB / 0.8141 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.558, allocations: 4 kB / 0.8141 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.558, allocations: 4 kB / 0.8141 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006635/0.5587, allocations: 0.6999 MB / 0.8148 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.5608, allocations: 1.638 MB / 0.8164 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5608, allocations: 4 kB / 0.8164 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.5613, allocations: 104.3 kB / 0.8165 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-06/0.5613, allocations: 15.94 kB / 0.8165 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.5613, allocations: 16 kB / 0.8165 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.5613, allocations: 4 kB / 0.8165 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5614, allocations: 4 kB / 0.8165 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.5624, allocations: 0.8693 MB / 0.8174 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.5626, allocations: 212 kB / 0.8176 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.5627, allocations: 15.98 kB / 0.8176 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.5632, allocations: 35.89 kB / 0.8176 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.5633, allocations: 39.83 kB / 0.8176 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.5633, allocations: 20 kB / 0.8177 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005577/0.5638, allocations: 0.5107 MB / 0.8182 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5639, allocations: 7.938 kB / 0.8182 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006039/0.5645, allocations: 204 kB / 0.8184 GB, free: 6.434 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.001458/0.5659, allocations: 1.498 MB / 0.8198 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000665/0.5666, allocations: 468.4 kB / 0.8203 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5666, allocations: 1.562 kB / 0.8203 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.5669, allocations: 208.6 kB / 0.8205 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.5687, allocations: 460.7 kB / 0.8209 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008001/0.5767, allocations: 7.208 MB / 0.8279 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.5773, allocations: 1.024 MB / 0.8289 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005862/0.5779, allocations: 197.2 kB / 0.8291 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.5782, allocations: 299.3 kB / 0.8294 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/0.5782, allocations: 0 / 0.8294 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9327/1.511, allocations: 21.35 MB / 0.8503 GB, free: 5.734 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003377/1.511, allocations: 286.5 kB / 0.8506 GB, free: 5.359 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/3.821, allocations: 3.375 kB / 0.8506 GB, free: 5.359 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)