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.004205/0.004206, allocations: 96.27 kB / 15.69 MB, free: 480 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.002067/0.002068, allocations: 176.2 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.721/2.721, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.425/1.425, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005861/0.0005867, allocations: 8 kB / 493 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.315, allocations: 77.12 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 1.154/1.469, allocations: 164.8 MB / 0.7177 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02434/1.493, allocations: 9.335 MB / 0.7268 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004421/1.498, allocations: 51.69 kB / 0.7269 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003918/1.502, allocations: 0.5207 MB / 0.7274 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01178/1.514, allocations: 1.714 MB / 0.729 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008524/1.522, allocations: 1.381 MB / 0.7304 GB, free: 8.273 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007048/1.53, allocations: 1.665 MB / 0.732 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003979/1.534, allocations: 0.8826 MB / 0.7329 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006149/1.54, allocations: 1.187 MB / 0.734 GB, free: 4.508 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002711/1.543, allocations: 0.6495 MB / 0.7347 GB, free: 3.855 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007729/1.543, allocations: 48 kB / 0.7347 GB, free: 3.809 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006489/1.55, allocations: 1.045 MB / 0.7357 GB, free: 2.762 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001535/1.552, allocations: 318.9 kB / 0.736 GB, free: 2.449 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001574/1.553, allocations: 273 kB / 0.7363 GB, free: 2.176 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005111/1.558, allocations: 1.53 MB / 0.7378 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.558, allocations: 0 / 0.7378 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.058e-05/1.558, allocations: 3.984 kB / 0.7378 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.003e-05/1.558, allocations: 0 / 0.7378 GB, free: 0.6445 MB / 0.545 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.005597/1.564, allocations: 1.531 MB / 0.7393 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001051/1.564, allocations: 12.02 kB / 0.7393 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005473/1.565, allocations: 156.3 kB / 0.7395 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003976/1.569, allocations: 373.8 kB / 0.7398 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003536/1.572, allocations: 0.8864 MB / 0.7407 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/1.572, allocations: 74 kB / 0.7407 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/1.573, allocations: 103.9 kB / 0.7408 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002932/1.576, allocations: 1.095 MB / 0.7419 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.889e-05/1.576, allocations: 0 / 0.7419 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/1.576, allocations: 44 kB / 0.742 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.2e-05/1.576, allocations: 41.94 kB / 0.742 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/1.578, allocations: 0.7962 MB / 0.7428 GB, free: 11.39 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.01116/1.589, allocations: 5.074 MB / 0.7477 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/1.591, allocations: 0.7077 MB / 0.7484 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006612/1.592, allocations: 149.7 kB / 0.7486 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.178e-05/1.592, allocations: 43.12 kB / 0.7486 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 5.62e-06/1.592, allocations: 0 / 0.7486 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.003404/1.596, allocations: 0.9388 MB / 0.7495 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/1.596, allocations: 59.97 kB / 0.7496 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/1.598, allocations: 0.8685 MB / 0.7504 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/1.598, allocations: 37.7 kB / 0.7505 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007511/1.599, allocations: 0.5662 MB / 0.751 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004425/1.599, allocations: 244.4 kB / 0.7513 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/1.599, allocations: 16 kB / 0.7513 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002904/1.6, allocations: 345.8 kB / 0.7516 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007685/1.6, allocations: 245.9 kB / 0.7518 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/1.602, allocations: 435.1 kB / 0.7522 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000928/1.602, allocations: 307.1 kB / 0.7525 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/1.602, allocations: 4 kB / 0.7525 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002609/1.605, allocations: 0.8237 MB / 0.7533 GB, free: 40 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.00174/1.607, allocations: 1.853 MB / 0.7552 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/1.607, allocations: 4 kB / 0.7552 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.812e-05/1.607, allocations: 8 kB / 0.7552 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/1.609, allocations: 252.5 kB / 0.7554 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/1.612, allocations: 1.396 MB / 0.7568 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/1.614, allocations: 131.2 kB / 0.7569 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/1.614, allocations: 31.98 kB / 0.7569 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.614, allocations: 4 kB / 0.7569 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002167/1.616, allocations: 0.7023 MB / 0.7576 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/1.616, allocations: 4 kB / 0.7576 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/1.616, allocations: 12 kB / 0.7576 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/1.618, allocations: 256.1 kB / 0.7579 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/1.62, allocations: 1.397 MB / 0.7592 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/1.622, allocations: 115 kB / 0.7594 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/1.622, allocations: 35.98 kB / 0.7594 GB, free: 9.441 MB / 0.5762 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.001328/1.624, allocations: 368.8 kB / 0.7597 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006955/1.624, allocations: 114.6 kB / 0.7598 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/1.627, allocations: 0.7833 MB / 0.7606 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/1.627, allocations: 8 kB / 0.7606 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/1.628, allocations: 4.062 kB / 0.7606 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002106/1.63, allocations: 0.7039 MB / 0.7613 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006701/1.636, allocations: 1.942 MB / 0.7632 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/1.636, allocations: 0 / 0.7632 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/1.638, allocations: 143.8 kB / 0.7633 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006216/1.638, allocations: 45.05 kB / 0.7634 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001756/1.638, allocations: 19.98 kB / 0.7634 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/1.641, allocations: 1.356 MB / 0.7647 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/1.641, allocations: 7.969 kB / 0.7647 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004157/1.645, allocations: 1.306 MB / 0.766 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.646, allocations: 251.5 kB / 0.7663 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004413/1.647, allocations: 20 kB / 0.7663 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.648, allocations: 63.81 kB / 0.7663 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.648, allocations: 48.45 kB / 0.7664 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/1.648, allocations: 24 kB / 0.7664 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001368/1.65, allocations: 0.585 MB / 0.767 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.8e-07/1.65, allocations: 0 / 0.767 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002799/1.652, allocations: 0.5297 MB / 0.7675 GB, free: 0.7617 MB / 0.5762 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.004705/1.657, allocations: 2.439 MB / 0.7699 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005285/1.662, allocations: 1.186 MB / 0.771 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/1.662, allocations: 0 / 0.771 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/1.664, allocations: 450.8 kB / 0.7715 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004188/1.668, allocations: 0.4934 MB / 0.7719 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/1.69, allocations: 9.574 MB / 0.7813 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/1.691, allocations: 1.171 MB / 0.7824 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002183/1.694, allocations: 272.8 kB / 0.7827 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.695, allocations: 463.3 kB / 0.7831 GB, free: 280 kB / 0.5919 GB Notification: Performance of SimCode: time 2.134e-06/1.695, allocations: 0 / 0.7831 GB, free: 280 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1186/1.813, allocations: 26.7 MB / 0.8092 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005647/1.814, allocations: 252.4 kB / 0.8095 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.457/6.271, allocations: 3.938 kB / 0.8095 GB, free: 5.668 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: