Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",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.001217/0.001217, allocations: 103.3 kB / 16.4 MB, free: 6.504 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.001333/0.001333, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7266/0.7266, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.61 kB / 0.568 GB, free: 29.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1541, allocations: 77.94 MB / 0.6441 GB, free: 9.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5843/0.7385, allocations: 242.4 MB / 0.8808 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02213/0.7606, allocations: 15.91 MB / 0.8963 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00311/0.7638, allocations: 75.56 kB / 0.8964 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003658/0.7675, allocations: 1.212 MB / 0.8976 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01074/0.7783, allocations: 3.969 MB / 0.9014 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004997/0.7833, allocations: 1.822 MB / 0.9032 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007276/0.7906, allocations: 5.266 MB / 0.9084 GB, free: 13.21 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.7932, allocations: 1.679 MB / 0.91 GB, free: 11.49 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005751/0.799, allocations: 2.693 MB / 0.9126 GB, free: 8.789 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003677/0.8027, allocations: 1.705 MB / 0.9143 GB, free: 7.086 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004407/0.8031, allocations: 180 kB / 0.9145 GB, free: 6.91 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005906/0.8091, allocations: 2.716 MB / 0.9171 GB, free: 4.188 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009478/0.81, allocations: 0.7713 MB / 0.9179 GB, free: 3.414 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.8117, allocations: 1.147 MB / 0.919 GB, free: 2.262 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006157/0.8179, allocations: 3.57 MB / 0.9225 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.8179, allocations: 4 kB / 0.9225 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.413e-06/0.818, allocations: 3.938 kB / 0.9225 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.866e-05/0.818, allocations: 0 / 0.9225 GB, free: 14.67 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004367/0.8224, allocations: 2.57 MB / 0.925 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.8224, allocations: 8.625 kB / 0.925 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002512/0.8227, allocations: 215.1 kB / 0.9252 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/0.8257, allocations: 0.5139 MB / 0.9257 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.8282, allocations: 1.383 MB / 0.9271 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.8284, allocations: 174.2 kB / 0.9272 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/0.8286, allocations: 152 kB / 0.9274 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002809/0.8314, allocations: 1.743 MB / 0.9291 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.8315, allocations: 0 / 0.9291 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.8316, allocations: 61.12 kB / 0.9291 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-05/0.8317, allocations: 66.69 kB / 0.9292 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/0.8342, allocations: 1.377 MB / 0.9305 GB, free: 6.207 MB / 0.6856 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.009672/0.8439, allocations: 8.224 MB / 0.9386 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.8455, allocations: 0.8925 MB / 0.9394 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000851/0.8463, allocations: 0.538 MB / 0.94 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006045/0.8469, allocations: 320.4 kB / 0.9403 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.847, allocations: 51.5 kB / 0.9403 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=96): time 2.825e-06/0.847, allocations: 0 / 0.9403 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of matching and sorting (n=102): time 0.006941/0.854, allocations: 3.149 MB / 0.9434 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.854, allocations: 72.34 kB / 0.9435 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.8556, allocations: 1.258 MB / 0.9447 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.8558, allocations: 49.7 kB / 0.9447 GB, free: 6.816 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005784/0.8564, allocations: 0.8228 MB / 0.9455 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.8567, allocations: 384.7 kB / 0.9459 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.857, allocations: 226.8 kB / 0.9461 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8572, allocations: 357.9 kB / 0.9465 GB, free: 5.023 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008173/0.858, allocations: 449.8 kB / 0.9469 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.8591, allocations: 0.826 MB / 0.9477 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.861, allocations: 1.26 MB / 0.9489 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.861, allocations: 4 kB / 0.9489 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002477/0.8635, allocations: 1.406 MB / 0.9503 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.8635, allocations: 8 kB / 0.9503 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.8635, allocations: 12 kB / 0.9503 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.8636, allocations: 12 kB / 0.9503 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.8647, allocations: 276.1 kB / 0.9506 GB, free: 500 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/0.8647, allocations: 24.55 kB / 0.9506 GB, free: 476 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.8661, allocations: 71.91 kB / 0.9507 GB, free: 404 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/0.8662, allocations: 55.98 kB / 0.9508 GB, free: 348 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001296/0.8675, allocations: 0.7641 MB / 0.9515 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001032/0.8686, allocations: 0.826 MB / 0.9523 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001803/0.8704, allocations: 1.233 MB / 0.9535 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.519e-06/0.8704, allocations: 4 kB / 0.9535 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002375/0.8728, allocations: 1.397 MB / 0.9549 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.8728, allocations: 12.03 kB / 0.9549 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8728, allocations: 12 kB / 0.9549 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.8728, allocations: 16 kB / 0.9549 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.8739, allocations: 271.6 kB / 0.9552 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/0.874, allocations: 23.92 kB / 0.9552 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.8754, allocations: 67.95 kB / 0.9553 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.8755, allocations: 55.98 kB / 0.9553 GB, free: 11.36 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0003472/0.8758, allocations: 272.6 kB / 0.9556 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/0.8761, allocations: 178.9 kB / 0.9557 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/0.8784, allocations: 1.148 MB / 0.9569 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.8784, allocations: 12 kB / 0.9569 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.8784, allocations: 0 / 0.9569 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001624/0.88, allocations: 1.083 MB / 0.9579 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00456/0.8846, allocations: 2.788 MB / 0.9607 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.8846, allocations: 0.5 kB / 0.9607 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.8858, allocations: 251.9 kB / 0.9609 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.8858, allocations: 7.938 kB / 0.9609 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-05/0.8859, allocations: 29.05 kB / 0.9609 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.8859, allocations: 8 kB / 0.9609 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8859, allocations: 0 / 0.9609 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.8888, allocations: 1.784 MB / 0.9627 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007178/0.8895, allocations: 347.8 kB / 0.963 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.8897, allocations: 20 kB / 0.963 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.8907, allocations: 56.62 kB / 0.9631 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.8909, allocations: 72.94 kB / 0.9632 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/0.891, allocations: 35.98 kB / 0.9632 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001121/0.8921, allocations: 0.8465 MB / 0.964 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8921, allocations: 0 / 0.964 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001978/0.8941, allocations: 0.7578 MB / 0.9648 GB, free: 1.488 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.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 (102): * Single equations (assignments): 102 * 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.003536/0.8976, allocations: 2.501 MB / 0.9672 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003092/0.9007, allocations: 1.736 MB / 0.9689 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.9007, allocations: 0 / 0.9689 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008807/0.9016, allocations: 0.5253 MB / 0.9694 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/0.9056, allocations: 0.911 MB / 0.9703 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/0.9224, allocations: 12.05 MB / 0.9821 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009871/0.9234, allocations: 1.449 MB / 0.9835 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001754/0.9252, allocations: 0.5522 MB / 0.984 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008927/0.9261, allocations: 0.6868 MB / 0.9847 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of SimCode: time 1.032e-06/0.9261, allocations: 3.938 kB / 0.9847 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07277/0.9989, allocations: 44.99 MB / 1.029 GB, free: 44 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.953/10.95, allocations: 10.67 kB / 1.029 GB, free: 36 kB / 0.7794 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)