Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="BuildSysPro_BuildSysPro_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.0008024/0.0008024, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001017/0.001017, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.097/1.097, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003375, allocations: 12.22 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.184, allocations: 83.42 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.372/0.5561, allocations: 24.1 MB / 0.6211 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008896/0.565, allocations: 6.688 MB / 0.6276 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.5662, allocations: 29.22 kB / 0.6276 GB, free: 26.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009369/0.5671, allocations: 283.7 kB / 0.6279 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.5694, allocations: 0.8901 MB / 0.6288 GB, free: 25.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.5715, allocations: 0.7379 MB / 0.6295 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002358/0.5738, allocations: 2.382 MB / 0.6318 GB, free: 24.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006055/0.5745, allocations: 468.2 kB / 0.6323 GB, free: 24.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007863/0.5753, allocations: 0.5874 MB / 0.6328 GB, free: 24.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005586/0.5758, allocations: 0.5014 MB / 0.6333 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.5759, allocations: 21.84 kB / 0.6334 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.5771, allocations: 0.6087 MB / 0.634 GB, free: 23.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.5773, allocations: 131.2 kB / 0.6341 GB, free: 23.65 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.5774, allocations: 167.7 kB / 0.6342 GB, free: 23.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008296/0.5783, allocations: 0.897 MB / 0.6351 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5783, allocations: 0 / 0.6351 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5783, allocations: 0 / 0.6351 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.5783, allocations: 3.938 kB / 0.6351 GB, free: 23.34 MB / 0.4981 GB 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.00116/0.5795, allocations: 0.9264 MB / 0.636 GB, free: 22.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.5795, allocations: 8.781 kB / 0.636 GB, free: 22.64 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.935e-05/0.5796, allocations: 83.8 kB / 0.6361 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.5799, allocations: 94.52 kB / 0.6362 GB, free: 22.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009562/0.5809, allocations: 0.7098 MB / 0.6369 GB, free: 22.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.5809, allocations: 36.28 kB / 0.6369 GB, free: 22.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.581, allocations: 48.31 kB / 0.637 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007019/0.5817, allocations: 0.4923 MB / 0.6375 GB, free: 21.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.5817, allocations: 7.328 kB / 0.6375 GB, free: 21.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.5818, allocations: 18.38 kB / 0.6375 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.5818, allocations: 13.5 kB / 0.6375 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.5822, allocations: 317.7 kB / 0.6378 GB, free: 21.65 MB / 0.4981 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.002151/0.5844, allocations: 2.75 MB / 0.6405 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.5847, allocations: 188.9 kB / 0.6407 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.5848, allocations: 111.3 kB / 0.6408 GB, free: 19.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.5851, allocations: 338.2 kB / 0.6411 GB, free: 18.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.5851, allocations: 34.75 kB / 0.6411 GB, free: 18.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.5851, allocations: 3.938 kB / 0.6411 GB, free: 18.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0004886/0.5856, allocations: 302 kB / 0.6414 GB, free: 18.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.5857, allocations: 58.12 kB / 0.6415 GB, free: 18.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.5862, allocations: 0.5099 MB / 0.642 GB, free: 18.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.5862, allocations: 31.98 kB / 0.642 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.5864, allocations: 347.8 kB / 0.6423 GB, free: 18.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.349e-05/0.5865, allocations: 82.3 kB / 0.6424 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.5865, allocations: 8 kB / 0.6424 GB, free: 18.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5866, allocations: 368.4 kB / 0.6428 GB, free: 17.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.5868, allocations: 89.62 kB / 0.6429 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.587, allocations: 225.5 kB / 0.6431 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.5872, allocations: 128.1 kB / 0.6432 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5872, allocations: 0 / 0.6432 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000474/0.5877, allocations: 390.6 kB / 0.6436 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.414e-05/0.5878, allocations: 212.5 kB / 0.6438 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5878, allocations: 9.25 kB / 0.6438 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5878, allocations: 5.25 kB / 0.6438 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.5881, allocations: 79.14 kB / 0.6439 GB, free: 16.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.5881, allocations: 11.89 kB / 0.6439 GB, free: 16.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.5884, allocations: 54.09 kB / 0.6439 GB, free: 16.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.5885, allocations: 21.7 kB / 0.6439 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.134e-06/0.5885, allocations: 5.25 kB / 0.6439 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003759/0.5889, allocations: 305.8 kB / 0.6442 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5889, allocations: 8.625 kB / 0.6442 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.93e-06/0.5889, allocations: 5.25 kB / 0.6442 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.5891, allocations: 75.06 kB / 0.6443 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.5891, allocations: 11.77 kB / 0.6443 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.5894, allocations: 51.14 kB / 0.6444 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.5894, allocations: 17.22 kB / 0.6444 GB, free: 16.74 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002171/0.5897, allocations: 286.7 kB / 0.6447 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.52e-05/0.5897, allocations: 57.11 kB / 0.6447 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.5902, allocations: 286.4 kB / 0.645 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.5902, allocations: 5.75 kB / 0.645 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5902, allocations: 7.938 kB / 0.645 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002981/0.5905, allocations: 378.1 kB / 0.6454 GB, free: 16.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.5918, allocations: 1.054 MB / 0.6464 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5918, allocations: 2.344 kB / 0.6464 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.592, allocations: 56.77 kB / 0.6465 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.592, allocations: 2.875 kB / 0.6465 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.592, allocations: 9.812 kB / 0.6465 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.592, allocations: 9.984 kB / 0.6465 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.592, allocations: 3.125 kB / 0.6465 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.5926, allocations: 0.5145 MB / 0.647 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.5927, allocations: 187 kB / 0.6472 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.914e-05/0.5928, allocations: 9.344 kB / 0.6472 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.5931, allocations: 27.33 kB / 0.6472 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.5932, allocations: 22.98 kB / 0.6472 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.5932, allocations: 18.67 kB / 0.6472 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004085/0.5936, allocations: 392.9 kB / 0.6476 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5937, allocations: 0 / 0.6476 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009407/0.5946, allocations: 338.8 kB / 0.6479 GB, free: 14.52 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001143/0.5957, allocations: 1.251 MB / 0.6492 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005689/0.5963, allocations: 399.8 kB / 0.6495 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5963, allocations: 1.25 kB / 0.6495 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.5965, allocations: 99.34 kB / 0.6496 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.5981, allocations: 381.8 kB / 0.65 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005062/0.6032, allocations: 3.287 MB / 0.6532 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.6036, allocations: 0.8993 MB / 0.6541 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006327/0.6042, allocations: 157.1 kB / 0.6542 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.6045, allocations: 218.5 kB / 0.6544 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.6045, allocations: 3.938 kB / 0.6544 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04539/0.6499, allocations: 17.81 MB / 0.6718 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.6502, allocations: 245.4 kB / 0.6721 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/2.984, allocations: 0 / 0.6721 GB, free: 7.535 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) Environment - environmentSimulation: