Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.000701/0.000701, allocations: 92.78 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007485/0.0007484, allocations: 177.5 kB / 16.58 MB, free: 6.051 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.158/1.158, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5977/0.5977, allocations: 113.7 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002667, allocations: 12 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1194, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.3862/0.5056, allocations: 171.4 MB / 0.7243 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0117/0.5173, allocations: 10.15 MB / 0.7342 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.5184, allocations: 47.62 kB / 0.7342 GB, free: 5.188 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008836/0.5193, allocations: 349.7 kB / 0.7346 GB, free: 4.844 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004369/0.5236, allocations: 1.964 MB / 0.7365 GB, free: 2.871 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.5277, allocations: 1.885 MB / 0.7383 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003149/0.5309, allocations: 3.312 MB / 0.7416 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007544/0.5316, allocations: 0.5828 MB / 0.7421 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.5329, allocations: 0.8988 MB / 0.743 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.5342, allocations: 1.024 MB / 0.744 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.034e-05/0.5343, allocations: 44 kB / 0.7441 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003778/0.5381, allocations: 2.062 MB / 0.7461 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003568/0.5385, allocations: 378.9 kB / 0.7464 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.5387, allocations: 233.1 kB / 0.7467 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.5408, allocations: 1.972 MB / 0.7486 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5408, allocations: 0 / 0.7486 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5408, allocations: 0 / 0.7486 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.5409, allocations: 0 / 0.7486 GB, free: 6.453 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.002553/0.5434, allocations: 1.495 MB / 0.75 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.5435, allocations: 12.03 kB / 0.75 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/0.5436, allocations: 114.4 kB / 0.7502 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.5452, allocations: 298.4 kB / 0.7504 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009944/0.5462, allocations: 0.746 MB / 0.7512 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.5462, allocations: 53.3 kB / 0.7512 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.72e-05/0.5463, allocations: 71.88 kB / 0.7513 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.5477, allocations: 0.9883 MB / 0.7523 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.5477, allocations: 4 kB / 0.7523 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.748e-05/0.5478, allocations: 27.98 kB / 0.7523 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.134e-05/0.5479, allocations: 73.95 kB / 0.7524 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.5493, allocations: 1.023 MB / 0.7534 GB, free: 1.441 MB / 0.5606 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.005024/0.5543, allocations: 3.586 MB / 0.7569 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009476/0.5552, allocations: 0.6698 MB / 0.7575 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/0.5557, allocations: 378.2 kB / 0.7579 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.556, allocations: 190.8 kB / 0.7581 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.556, allocations: 43.12 kB / 0.7581 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.344e-06/0.556, allocations: 0 / 0.7581 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.001622/0.5577, allocations: 1.025 MB / 0.7591 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.5577, allocations: 107.4 kB / 0.7592 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008194/0.5586, allocations: 0.798 MB / 0.76 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.5586, allocations: 37.7 kB / 0.76 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.5589, allocations: 428 kB / 0.7604 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.559, allocations: 224.8 kB / 0.7606 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.5591, allocations: 12 kB / 0.7606 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.5592, allocations: 337.9 kB / 0.761 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.5596, allocations: 325.8 kB / 0.7613 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.5602, allocations: 448.8 kB / 0.7617 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/0.5607, allocations: 403 kB / 0.7621 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5607, allocations: 3.938 kB / 0.7621 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001238/0.562, allocations: 0.9099 MB / 0.763 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.395e-05/0.5621, allocations: 155.6 kB / 0.7631 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5621, allocations: 4 kB / 0.7631 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.5621, allocations: 8 kB / 0.7631 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/0.5627, allocations: 151.8 kB / 0.7633 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.5627, allocations: 4 kB / 0.7633 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006801/0.5634, allocations: 115.1 kB / 0.7634 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.5635, allocations: 24 kB / 0.7634 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.5635, allocations: 7.938 kB / 0.7634 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001117/0.5646, allocations: 0.7765 MB / 0.7642 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.5646, allocations: 288 / 0.7642 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.184e-06/0.5646, allocations: 12 kB / 0.7642 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.5652, allocations: 147.8 kB / 0.7643 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.5652, allocations: 7.938 kB / 0.7644 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000664/0.5659, allocations: 95.23 kB / 0.7644 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.274e-05/0.566, allocations: 35.98 kB / 0.7645 GB, free: 5.621 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0005008/0.5665, allocations: 361.6 kB / 0.7648 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.5666, allocations: 102.8 kB / 0.7649 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.5678, allocations: 0.803 MB / 0.7657 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5678, allocations: 12 kB / 0.7657 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5679, allocations: 0 / 0.7657 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008851/0.5687, allocations: 0.7438 MB / 0.7664 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.5714, allocations: 2.09 MB / 0.7685 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.5714, allocations: 4 kB / 0.7685 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/0.572, allocations: 140.2 kB / 0.7686 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-06/0.572, allocations: 10.31 kB / 0.7686 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.406e-05/0.5721, allocations: 23.95 kB / 0.7687 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.5721, allocations: 4 kB / 0.7687 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5721, allocations: 7.938 kB / 0.7687 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.5736, allocations: 1.36 MB / 0.77 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/0.574, allocations: 263.8 kB / 0.7702 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.5741, allocations: 15.98 kB / 0.7703 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.5746, allocations: 53.66 kB / 0.7703 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.5747, allocations: 44.39 kB / 0.7704 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.5748, allocations: 23.98 kB / 0.7704 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006038/0.5754, allocations: 0.5536 MB / 0.7709 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5754, allocations: 4 kB / 0.7709 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001538/0.5769, allocations: 0.7489 MB / 0.7717 GB, free: 14.06 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * 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 Backend phase and start with SimCode phase: time 0.002766/0.5797, allocations: 2.343 MB / 0.7739 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001634/0.5813, allocations: 1.162 MB / 0.7751 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5814, allocations: 0 / 0.7751 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.5818, allocations: 367.7 kB / 0.7754 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.5838, allocations: 0.5189 MB / 0.7759 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00754/0.5913, allocations: 5.983 MB / 0.7818 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.5919, allocations: 1.081 MB / 0.7828 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001227/0.5931, allocations: 423.3 kB / 0.7832 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/0.5936, allocations: 331.3 kB / 0.7836 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/0.5936, allocations: 3.938 kB / 0.7836 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04199/0.6356, allocations: 30.29 MB / 0.8131 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.6358, allocations: 238.4 kB / 0.8134 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/2.781, allocations: 0 / 0.8134 GB, free: 3.434 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) Environment - environmentSimulation: