Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.Examples.MixingVolumeMoistAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.0007567/0.0007567, 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.0009659/0.000966, allocations: 176.8 kB / 16.58 MB, free: 5.668 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.194/1.194, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6104/0.6104, allocations: 113.7 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002793, allocations: 13.42 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1234, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.3847/0.5082, allocations: 180.9 MB / 0.7335 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01212/0.5203, allocations: 9.674 MB / 0.743 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.5216, allocations: 51.69 kB / 0.743 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.5229, allocations: 393.2 kB / 0.7434 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.5265, allocations: 1.454 MB / 0.7448 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.5292, allocations: 1.046 MB / 0.7458 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003404/0.5326, allocations: 3.143 MB / 0.7489 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.5338, allocations: 0.8708 MB / 0.7498 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.5362, allocations: 1.311 MB / 0.751 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.5374, allocations: 0.8807 MB / 0.7519 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.5375, allocations: 48 kB / 0.752 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.5401, allocations: 1.31 MB / 0.7532 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003303/0.5404, allocations: 338.8 kB / 0.7536 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.5407, allocations: 280.9 kB / 0.7538 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.5425, allocations: 1.668 MB / 0.7555 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.5425, allocations: 4 kB / 0.7555 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.297e-06/0.5425, allocations: 3.984 kB / 0.7555 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.5426, allocations: 0 / 0.7555 GB, free: 15.38 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002236/0.5448, allocations: 1.577 MB / 0.757 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.5448, allocations: 12.03 kB / 0.757 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.545, allocations: 148.3 kB / 0.7572 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.5469, allocations: 381.7 kB / 0.7575 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.5482, allocations: 0.8709 MB / 0.7584 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.5483, allocations: 74 kB / 0.7584 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.5484, allocations: 111.8 kB / 0.7585 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.55, allocations: 1.095 MB / 0.7596 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.55, allocations: 7.938 kB / 0.7596 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/0.5501, allocations: 44 kB / 0.7597 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/0.5502, allocations: 41.95 kB / 0.7597 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.5515, allocations: 0.7923 MB / 0.7605 GB, free: 10.07 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.00502/0.5565, allocations: 5.078 MB / 0.7654 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.5576, allocations: 0.6953 MB / 0.7661 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005041/0.5581, allocations: 353.3 kB / 0.7665 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005256/0.5586, allocations: 323.9 kB / 0.7668 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.5587, allocations: 51.08 kB / 0.7668 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.014e-06/0.5587, allocations: 0 / 0.7668 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.001711/0.5604, allocations: 0.935 MB / 0.7677 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.5605, allocations: 67.95 kB / 0.7678 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000918/0.5614, allocations: 0.8647 MB / 0.7686 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.5614, allocations: 41.7 kB / 0.7687 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.5618, allocations: 0.5623 MB / 0.7692 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.562, allocations: 240.4 kB / 0.7695 GB, free: 420 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.562, allocations: 16 kB / 0.7695 GB, free: 404 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5621, allocations: 334 kB / 0.7698 GB, free: 64 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.5626, allocations: 245.9 kB / 0.77 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.5631, allocations: 451 kB / 0.7704 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.5636, allocations: 307.1 kB / 0.7707 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5636, allocations: 4 kB / 0.7707 GB, free: 15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001233/0.5649, allocations: 0.8249 MB / 0.7716 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.565, allocations: 233.2 kB / 0.7718 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.565, allocations: 4 kB / 0.7718 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5651, allocations: 12 kB / 0.7718 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.5664, allocations: 251.6 kB / 0.772 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.5676, allocations: 1.398 MB / 0.7734 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/0.5683, allocations: 127.7 kB / 0.7735 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/0.5683, allocations: 28 kB / 0.7735 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.29e-06/0.5684, allocations: 4 kB / 0.7735 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001102/0.5695, allocations: 0.7104 MB / 0.7742 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5695, allocations: 15.97 kB / 0.7743 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.5695, allocations: 8 kB / 0.7743 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.5707, allocations: 247.7 kB / 0.7745 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.5718, allocations: 1.393 MB / 0.7759 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006543/0.5725, allocations: 115.3 kB / 0.776 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.5725, allocations: 35.98 kB / 0.776 GB, free: 9.27 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004089/0.573, allocations: 360.8 kB / 0.7763 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.5731, allocations: 114.6 kB / 0.7765 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.5746, allocations: 0.7902 MB / 0.7772 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5746, allocations: 8 kB / 0.7772 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.5746, allocations: 0 / 0.7772 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/0.5757, allocations: 0.7118 MB / 0.7779 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/0.5785, allocations: 1.93 MB / 0.7798 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.5786, allocations: 3.984 kB / 0.7798 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006475/0.5792, allocations: 144.6 kB / 0.78 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003612/0.5796, allocations: 48.81 kB / 0.78 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.5796, allocations: 12 kB / 0.78 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.5808, allocations: 1.36 MB / 0.7813 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5808, allocations: 8 kB / 0.7814 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.5827, allocations: 1.219 MB / 0.7825 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.583, allocations: 251.5 kB / 0.7828 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.5832, allocations: 27.94 kB / 0.7828 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.5837, allocations: 59.61 kB / 0.7829 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.5838, allocations: 44.5 kB / 0.7829 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.5838, allocations: 28 kB / 0.7829 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006859/0.5845, allocations: 0.585 MB / 0.7835 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.533e-06/0.5845, allocations: 0 / 0.7835 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001203/0.5857, allocations: 0.5296 MB / 0.784 GB, free: 0.7188 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002438/0.5882, allocations: 1.883 MB / 0.7859 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002984/0.5912, allocations: 1.182 MB / 0.787 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5912, allocations: 0 / 0.787 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006763/0.5919, allocations: 450.6 kB / 0.7874 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.5939, allocations: 0.4959 MB / 0.7879 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008987/0.6029, allocations: 6.639 MB / 0.7944 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.6036, allocations: 1.14 MB / 0.7955 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001035/0.6046, allocations: 281.1 kB / 0.7958 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005302/0.6052, allocations: 455.3 kB / 0.7962 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.6052, allocations: 0 / 0.7962 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2603/0.8655, allocations: 26.72 MB / 0.8223 GB, free: 213.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/0.8657, allocations: 264.2 kB / 0.8226 GB, free: 212.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.869, allocations: 0 / 0.8226 GB, free: 212.8 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) Environment - environmentSimulation: