Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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.001127/0.001127, allocations: 101.6 kB / 16.27 MB, free: 5.977 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.001183/0.001184, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.32/1.32, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7339/0.7339, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3186, allocations: 77.92 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02153/0.3402, allocations: 26.24 MB / 0.5929 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008197/0.3484, allocations: 7.138 MB / 0.5999 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009536/0.3494, allocations: 36.16 kB / 0.5999 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007814/0.3502, allocations: 387.7 kB / 0.6003 GB, free: 7.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.3523, allocations: 1.107 MB / 0.6014 GB, free: 6.383 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.3542, allocations: 0.9502 MB / 0.6023 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001842/0.356, allocations: 2.095 MB / 0.6043 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006579/0.3567, allocations: 0.6107 MB / 0.6049 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.3579, allocations: 0.7152 MB / 0.6056 GB, free: 3.465 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004426/0.3584, allocations: 0.5366 MB / 0.6062 GB, free: 2.926 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.571e-05/0.3585, allocations: 59.94 kB / 0.6062 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.3596, allocations: 0.811 MB / 0.607 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.3598, allocations: 167.4 kB / 0.6072 GB, free: 1.891 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.36, allocations: 390 kB / 0.6075 GB, free: 1.508 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.3611, allocations: 1.196 MB / 0.6087 GB, free: 316 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3611, allocations: 0 / 0.6087 GB, free: 316 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3611, allocations: 0 / 0.6087 GB, free: 316 kB / 446.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.3611, allocations: 0 / 0.6087 GB, free: 316 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001216/0.3624, allocations: 1.053 MB / 0.6097 GB, free: 15.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3624, allocations: 12.62 kB / 0.6097 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.884e-05/0.3625, allocations: 82.7 kB / 0.6098 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.3628, allocations: 96 kB / 0.6099 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009632/0.3638, allocations: 0.7058 MB / 0.6106 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.3638, allocations: 33 kB / 0.6106 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.3639, allocations: 48 kB / 0.6107 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007/0.3646, allocations: 0.5001 MB / 0.6112 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3646, allocations: 3.938 kB / 0.6112 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.3647, allocations: 20 kB / 0.6112 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.3647, allocations: 12 kB / 0.6112 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.3652, allocations: 319.7 kB / 0.6115 GB, free: 13.3 MB / 462.1 MB 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.002452/0.3676, allocations: 2.767 MB / 0.6142 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.368, allocations: 194.5 kB / 0.6144 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.3681, allocations: 98.67 kB / 0.6145 GB, free: 9.992 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/0.3684, allocations: 344.9 kB / 0.6148 GB, free: 9.582 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.3684, allocations: 38.5 kB / 0.6149 GB, free: 9.535 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.3684, allocations: 4 kB / 0.6149 GB, free: 9.531 MB / 462.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004988/0.3689, allocations: 298.2 kB / 0.6151 GB, free: 9.234 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.369, allocations: 59.34 kB / 0.6152 GB, free: 9.164 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/0.3695, allocations: 0.5264 MB / 0.6157 GB, free: 8.629 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.3695, allocations: 29.7 kB / 0.6157 GB, free: 8.594 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.3697, allocations: 347.4 kB / 0.6161 GB, free: 8.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.3698, allocations: 82.84 kB / 0.6162 GB, free: 8.168 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.3699, allocations: 85.5 kB / 0.6162 GB, free: 8.078 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.37, allocations: 362.8 kB / 0.6166 GB, free: 7.715 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3702, allocations: 88.81 kB / 0.6167 GB, free: 7.625 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.3704, allocations: 237.9 kB / 0.6169 GB, free: 7.328 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.3708, allocations: 341.6 kB / 0.6172 GB, free: 6.938 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3708, allocations: 0 / 0.6172 GB, free: 6.938 MB / 462.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005291/0.3713, allocations: 384.4 kB / 0.6176 GB, free: 6.559 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3713, allocations: 12 kB / 0.6176 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3714, allocations: 7.938 kB / 0.6176 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3714, allocations: 8.047 kB / 0.6176 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.3716, allocations: 79.89 kB / 0.6177 GB, free: 6.453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3717, allocations: 15.92 kB / 0.6177 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.372, allocations: 39.53 kB / 0.6177 GB, free: 6.398 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.372, allocations: 23.98 kB / 0.6178 GB, free: 6.375 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002701/0.3723, allocations: 248 kB / 0.618 GB, free: 6.129 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002097/0.3725, allocations: 233.9 kB / 0.6182 GB, free: 5.836 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003366/0.3728, allocations: 331.3 kB / 0.6185 GB, free: 5.457 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.3729, allocations: 4 kB / 0.6185 GB, free: 5.453 MB / 462.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005132/0.3734, allocations: 384.7 kB / 0.6189 GB, free: 5.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.3734, allocations: 8 kB / 0.6189 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3734, allocations: 4 kB / 0.6189 GB, free: 5.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/0.3734, allocations: 8 kB / 0.6189 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.3736, allocations: 79.84 kB / 0.619 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3737, allocations: 11.92 kB / 0.619 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.374, allocations: 28.12 kB / 0.619 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.374, allocations: 24 kB / 0.6191 GB, free: 4.91 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0001112/0.3741, allocations: 208.1 kB / 0.6193 GB, free: 4.699 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3742, allocations: 59.34 kB / 0.6193 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.3747, allocations: 268.8 kB / 0.6196 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3747, allocations: 11.94 kB / 0.6196 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.726e-06/0.3747, allocations: 0 / 0.6196 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003397/0.375, allocations: 383.8 kB / 0.62 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.3763, allocations: 1.056 MB / 0.621 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3763, allocations: 8.031 kB / 0.621 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.3765, allocations: 51.97 kB / 0.621 GB, free: 2.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/0.3765, allocations: 4 kB / 0.621 GB, free: 2.719 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.3766, allocations: 15.94 kB / 0.6211 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3766, allocations: 4 kB / 0.6211 GB, free: 2.699 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3766, allocations: 4 kB / 0.6211 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006038/0.3772, allocations: 0.5259 MB / 0.6216 GB, free: 2.125 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.3774, allocations: 168.3 kB / 0.6217 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.23e-05/0.3775, allocations: 15.98 kB / 0.6218 GB, free: 1.926 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.3778, allocations: 15.98 kB / 0.6218 GB, free: 1.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.3779, allocations: 19.92 kB / 0.6218 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.3779, allocations: 23.92 kB / 0.6218 GB, free: 1.867 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000436/0.3783, allocations: 407.1 kB / 0.6222 GB, free: 1.465 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3783, allocations: 0 / 0.6222 GB, free: 1.465 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009437/0.3793, allocations: 355.3 kB / 0.6225 GB, free: 1.117 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001258/0.3806, allocations: 1.265 MB / 0.6238 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006025/0.3812, allocations: 417.5 kB / 0.6242 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3812, allocations: 0 / 0.6242 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.3813, allocations: 111.9 kB / 0.6243 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.383, allocations: 373.8 kB / 0.6246 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/0.3878, allocations: 4.53 MB / 0.6291 GB, free: 10.19 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.3883, allocations: 0.8941 MB / 0.6299 GB, free: 9.27 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005196/0.3888, allocations: 162.3 kB / 0.6301 GB, free: 9.117 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.3891, allocations: 215.3 kB / 0.6303 GB, free: 8.906 MB / 478.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3891, allocations: 0 / 0.6303 GB, free: 8.906 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.177/0.5661, allocations: 17.85 MB / 0.6477 GB, free: 7.344 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/8.865, allocations: 7.453 kB / 0.6477 GB, free: 7.34 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)