Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 174.5 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.4 MB / 0.5777 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007471/0.000747, allocations: 90.33 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004683, allocations: 9.156 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2483, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.8197/1.068, allocations: 181.2 MB / 1.077 GB, free: 4.07 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01922/1.087, allocations: 9.737 MB / 1.087 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002734/1.09, allocations: 49.41 kB / 1.087 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/1.092, allocations: 399.5 kB / 1.087 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006457/1.099, allocations: 1.458 MB / 1.089 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005085/1.104, allocations: 1.065 MB / 1.09 GB, free: 3.762 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006434/1.11, allocations: 3.179 MB / 1.093 GB, free: 3.762 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003178/1.113, allocations: 0.8749 MB / 1.094 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005416/1.119, allocations: 1.327 MB / 1.095 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003143/1.122, allocations: 0.8706 MB / 1.096 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009056/1.123, allocations: 47.38 kB / 1.096 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005995/1.129, allocations: 1.325 MB / 1.097 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001252/1.13, allocations: 347.4 kB / 1.097 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001657/1.132, allocations: 273.3 kB / 1.098 GB, free: 19.55 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004675/1.137, allocations: 1.689 MB / 1.099 GB, free: 19.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/1.137, allocations: 2.859 kB / 1.099 GB, free: 19.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.769e-06/1.137, allocations: 0 / 1.099 GB, free: 19.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001329/1.137, allocations: 0 / 1.099 GB, free: 19.4 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.004873/1.142, allocations: 1.58 MB / 1.101 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/1.142, allocations: 9.719 kB / 1.101 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005582/1.143, allocations: 161.6 kB / 1.101 GB, free: 18.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/1.145, allocations: 365.8 kB / 1.101 GB, free: 18.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/1.149, allocations: 0.8807 MB / 1.102 GB, free: 18.03 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/1.149, allocations: 83.08 kB / 1.102 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004727/1.15, allocations: 108.3 kB / 1.102 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003713/1.153, allocations: 1.108 MB / 1.103 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.317e-05/1.154, allocations: 3.344 kB / 1.103 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/1.154, allocations: 42.62 kB / 1.104 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-05/1.154, allocations: 37.05 kB / 1.104 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/1.156, allocations: 0.7988 MB / 1.104 GB, free: 17.78 MB / 0.7136 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.008237/1.164, allocations: 5.088 MB / 1.109 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/1.165, allocations: 0.6726 MB / 1.11 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005908/1.166, allocations: 351.5 kB / 1.11 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007143/1.167, allocations: 325.5 kB / 1.111 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.005e-05/1.167, allocations: 45.45 kB / 1.111 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 4.919e-06/1.167, allocations: 0 / 1.111 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.002275/1.169, allocations: 0.9298 MB / 1.112 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/1.169, allocations: 66.28 kB / 1.112 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/1.171, allocations: 0.8643 MB / 1.112 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/1.171, allocations: 44.52 kB / 1.113 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004524/1.171, allocations: 0.5583 MB / 1.113 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/1.172, allocations: 247.2 kB / 1.113 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/1.172, allocations: 18.34 kB / 1.113 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.172, allocations: 330.7 kB / 1.114 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/1.172, allocations: 245 kB / 1.114 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/1.173, allocations: 442 kB / 1.114 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/1.174, allocations: 308.5 kB / 1.115 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/1.174, allocations: 4 kB / 1.115 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00166/1.175, allocations: 0.8213 MB / 1.115 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002158/1.175, allocations: 235.8 kB / 1.116 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/1.176, allocations: 5.094 kB / 1.116 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.779e-05/1.176, allocations: 6.094 kB / 1.116 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/1.177, allocations: 261.1 kB / 1.116 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/1.179, allocations: 1.389 MB / 1.117 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/1.18, allocations: 119.8 kB / 1.117 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.18, allocations: 29.12 kB / 1.117 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/1.18, allocations: 5.875 kB / 1.117 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001475/1.182, allocations: 0.6947 MB / 1.118 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/1.182, allocations: 6.594 kB / 1.118 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/1.182, allocations: 12.47 kB / 1.118 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/1.184, allocations: 253.9 kB / 1.118 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/1.185, allocations: 1.395 MB / 1.12 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/1.186, allocations: 118.5 kB / 1.12 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/1.186, allocations: 29.41 kB / 1.12 GB, free: 10.01 MB / 0.7136 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.0009579/1.187, allocations: 370.5 kB / 1.12 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004554/1.188, allocations: 106.7 kB / 1.12 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/1.19, allocations: 0.7893 MB / 1.121 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.19, allocations: 7.312 kB / 1.121 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.19, allocations: 1.438 kB / 1.121 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001456/1.191, allocations: 0.6961 MB / 1.122 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004346/1.196, allocations: 1.927 MB / 1.124 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.196, allocations: 6.312 kB / 1.124 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008049/1.197, allocations: 144.8 kB / 1.124 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004878/1.197, allocations: 47.94 kB / 1.124 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/1.197, allocations: 22.56 kB / 1.124 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/1.199, allocations: 1.356 MB / 1.125 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.199, allocations: 96 / 1.125 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/1.201, allocations: 1.255 MB / 1.126 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007563/1.202, allocations: 258 kB / 1.127 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/1.202, allocations: 19.02 kB / 1.127 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009725/1.203, allocations: 65.45 kB / 1.127 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/1.203, allocations: 51.06 kB / 1.127 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/1.204, allocations: 23.5 kB / 1.127 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001203/1.205, allocations: 0.5879 MB / 1.127 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.205, allocations: 0 / 1.127 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002598/1.207, allocations: 0.5384 MB / 1.128 GB, free: 7.129 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],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.004441/1.212, allocations: 1.903 MB / 1.13 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0042/1.216, allocations: 1.173 MB / 1.131 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/1.216, allocations: 0 / 1.131 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009815/1.217, allocations: 448.7 kB / 1.131 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/1.221, allocations: 0.5123 MB / 1.132 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/1.236, allocations: 6.616 MB / 1.138 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/1.237, allocations: 1.142 MB / 1.139 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001747/1.239, allocations: 265.5 kB / 1.14 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/1.24, allocations: 463.3 kB / 1.14 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of SimCode: time 2.124e-06/1.24, allocations: 0 / 1.14 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06432/1.304, allocations: 26.85 MB / 1.166 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003167/1.305, allocations: 269.9 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.12/4.424, allocations: 4.062 kB / 1.167 GB, free: 15.4 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)