Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",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.000951/0.0009513, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001215/0.001215, allocations: 177.3 kB / 15.95 MB, free: 216 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.472/1.472, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.057/1.057, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005737/0.0005741, allocations: 8 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2242, allocations: 83.41 MB / 0.5973 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.6022/0.8265, allocations: 147.9 MB / 0.7417 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00884/0.8354, allocations: 4.284 MB / 0.7459 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.8368, allocations: 23.81 kB / 0.7459 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.8386, allocations: 388.4 kB / 0.7463 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005432/0.844, allocations: 1.182 MB / 0.7475 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.8474, allocations: 0.8001 MB / 0.7483 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002841/0.8503, allocations: 0.9422 MB / 0.7492 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.8515, allocations: 406 kB / 0.7496 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.8531, allocations: 480 kB / 0.75 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009471/0.854, allocations: 320 kB / 0.7503 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.8542, allocations: 24 kB / 0.7503 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.8564, allocations: 0.5994 MB / 0.7509 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003814/0.8567, allocations: 189.4 kB / 0.7511 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004103/0.8572, allocations: 145.4 kB / 0.7513 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001611/0.8588, allocations: 0.8139 MB / 0.752 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.8588, allocations: 0 / 0.752 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8588, allocations: 0 / 0.752 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.877e-05/0.8588, allocations: 4 kB / 0.7521 GB, free: 13.63 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002162/0.861, allocations: 0.8646 MB / 0.7529 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.54e-05/0.8611, allocations: 16.03 kB / 0.7529 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002471/0.8614, allocations: 82.52 kB / 0.753 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.8629, allocations: 175 kB / 0.7532 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.8643, allocations: 0.4977 MB / 0.7536 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.8643, allocations: 36.98 kB / 0.7537 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/0.8644, allocations: 48 kB / 0.7537 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.8654, allocations: 470.3 kB / 0.7542 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.8655, allocations: 0 / 0.7542 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.808e-05/0.8655, allocations: 19.95 kB / 0.7542 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.8656, allocations: 13 kB / 0.7542 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008237/0.8664, allocations: 427.7 kB / 0.7546 GB, free: 10.91 MB / 0.5762 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.002959/0.8694, allocations: 2.028 MB / 0.7566 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.87, allocations: 316 kB / 0.7569 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.33e-05/0.8701, allocations: 15.98 kB / 0.7569 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.8701, allocations: 42.5 kB / 0.7569 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.8701, allocations: 4 kB / 0.757 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001711/0.8719, allocations: 0.6496 MB / 0.7576 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.8719, allocations: 59.39 kB / 0.7576 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.8724, allocations: 438 kB / 0.7581 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.8725, allocations: 33.7 kB / 0.7581 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.8727, allocations: 284.1 kB / 0.7584 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.8728, allocations: 106.5 kB / 0.7585 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.8728, allocations: 8 kB / 0.7585 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.873, allocations: 362.7 kB / 0.7588 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.8733, allocations: 123.9 kB / 0.7589 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.8736, allocations: 214.1 kB / 0.7591 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.8739, allocations: 151.9 kB / 0.7593 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.8739, allocations: 4 kB / 0.7593 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007026/0.8746, allocations: 409.4 kB / 0.7597 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002796/0.8749, allocations: 0.5293 MB / 0.7602 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.875, allocations: 4 kB / 0.7602 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.875, allocations: 4 kB / 0.7602 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.8753, allocations: 71.91 kB / 0.7603 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.8754, allocations: 7.688 kB / 0.7603 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/0.8759, allocations: 64.14 kB / 0.7603 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.8759, allocations: 20 kB / 0.7604 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-06/0.876, allocations: 7.953 kB / 0.7604 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006161/0.8766, allocations: 335.7 kB / 0.7607 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.8766, allocations: 4.719 kB / 0.7607 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-06/0.8766, allocations: 4 kB / 0.7607 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.8769, allocations: 75.89 kB / 0.7608 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.8769, allocations: 4 kB / 0.7608 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.8774, allocations: 55.72 kB / 0.7608 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.8774, allocations: 16.61 kB / 0.7608 GB, free: 4.191 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * 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.000315/0.8777, allocations: 285.6 kB / 0.7611 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.949e-05/0.8778, allocations: 51.39 kB / 0.7612 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008315/0.8786, allocations: 424.9 kB / 0.7616 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/0.8787, allocations: 7.938 kB / 0.7616 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8787, allocations: 0 / 0.7616 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000777/0.8795, allocations: 454.4 kB / 0.762 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.8813, allocations: 1.148 MB / 0.7631 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.8813, allocations: 12.02 kB / 0.7631 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.8816, allocations: 55.91 kB / 0.7632 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002339/0.8818, allocations: 48.83 kB / 0.7632 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.8819, allocations: 9.5 kB / 0.7633 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.8831, allocations: 1.445 MB / 0.7647 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.8831, allocations: 7.938 kB / 0.7647 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.8843, allocations: 0.783 MB / 0.7654 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.8845, allocations: 164.4 kB / 0.7656 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.224e-05/0.8846, allocations: 15.11 kB / 0.7656 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.885, allocations: 42.19 kB / 0.7656 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.8851, allocations: 27.92 kB / 0.7657 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.8852, allocations: 8 kB / 0.7657 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003752/0.8855, allocations: 318.9 kB / 0.766 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8856, allocations: 0 / 0.766 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009519/0.8865, allocations: 295.3 kB / 0.7663 GB, free: 14.28 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002031/0.8886, allocations: 1.917 MB / 0.7681 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000933/0.8895, allocations: 0.4917 MB / 0.7686 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8895, allocations: 0 / 0.7686 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.89, allocations: 299.3 kB / 0.7689 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.8914, allocations: 297.4 kB / 0.7692 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/0.8963, allocations: 3.813 MB / 0.7729 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.8968, allocations: 0.9134 MB / 0.7738 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005731/0.8974, allocations: 164.2 kB / 0.774 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.8977, allocations: 179.4 kB / 0.7741 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.8977, allocations: 4 kB / 0.7741 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.9301, allocations: 14.54 MB / 0.7883 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/0.9304, allocations: 273.6 kB / 0.7886 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.966, allocations: 0 / 0.7886 GB, free: 7.547 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) Environment - environmentSimulation: