Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.001026/0.001026, allocations: 173.1 kB / 16.27 MB, free: 6.656 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.386/1.386, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 279 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9555/0.9555, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004626, allocations: 13.19 kB / 0.5986 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1898, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5488/0.7386, allocations: 193.9 MB / 0.8745 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01335/0.752, allocations: 10.31 MB / 0.8846 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.7537, allocations: 52.06 kB / 0.8846 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.7553, allocations: 478.3 kB / 0.8851 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005653/0.761, allocations: 1.839 MB / 0.8869 GB, free: 280 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003746/0.7647, allocations: 1.24 MB / 0.8881 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0053/0.77, allocations: 3.676 MB / 0.8917 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.772, allocations: 0.9813 MB / 0.8926 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004665/0.7766, allocations: 1.449 MB / 0.8941 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.7787, allocations: 0.9227 MB / 0.895 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.7789, allocations: 48 kB / 0.895 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004819/0.7837, allocations: 2.381 MB / 0.8973 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004999/0.7842, allocations: 346.7 kB / 0.8977 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009874/0.7852, allocations: 0.6386 MB / 0.8983 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004123/0.7894, allocations: 2.492 MB / 0.9007 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.7894, allocations: 0 / 0.9007 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.617e-06/0.7894, allocations: 0 / 0.9007 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.285e-05/0.7894, allocations: 3.938 kB / 0.9007 GB, free: 3.062 MB / 0.6075 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.003017/0.7924, allocations: 1.573 MB / 0.9023 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.7925, allocations: 8.031 kB / 0.9023 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/0.7946, allocations: 361.9 kB / 0.9026 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.7962, allocations: 0.9169 MB / 0.9035 GB, free: 116 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.7963, allocations: 77.94 kB / 0.9036 GB, free: 36 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.7965, allocations: 108 kB / 0.9037 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.7984, allocations: 1.115 MB / 0.9048 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.7984, allocations: 7.938 kB / 0.9048 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-05/0.7985, allocations: 44 kB / 0.9048 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/0.7985, allocations: 34 kB / 0.9049 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.8, allocations: 0.8041 MB / 0.9056 GB, free: 13.87 MB / 0.6231 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.006205/0.8062, allocations: 5.082 MB / 0.9106 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.8075, allocations: 0.7075 MB / 0.9113 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005783/0.8081, allocations: 347 kB / 0.9116 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006246/0.8088, allocations: 331.9 kB / 0.9119 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.8088, allocations: 43.12 kB / 0.912 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.555e-06/0.8088, allocations: 0 / 0.912 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.002025/0.8109, allocations: 0.9388 MB / 0.9129 GB, free: 6 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.8109, allocations: 67.91 kB / 0.913 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.812, allocations: 0.8802 MB / 0.9138 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.8121, allocations: 37.7 kB / 0.9139 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/0.8125, allocations: 0.5545 MB / 0.9144 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.8127, allocations: 248.4 kB / 0.9146 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.419e-05/0.8128, allocations: 69.67 kB / 0.9147 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.813, allocations: 334 kB / 0.915 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/0.8134, allocations: 245.9 kB / 0.9153 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006486/0.8141, allocations: 451.1 kB / 0.9157 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.8152, allocations: 0.7093 MB / 0.9164 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.8152, allocations: 3.938 kB / 0.9164 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001604/0.8169, allocations: 0.8395 MB / 0.9172 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.8171, allocations: 227.4 kB / 0.9174 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.8171, allocations: 4 kB / 0.9174 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.8171, allocations: 8 kB / 0.9174 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.8186, allocations: 255.7 kB / 0.9177 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.82, allocations: 1.389 MB / 0.919 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009371/0.8209, allocations: 120.6 kB / 0.9192 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.821, allocations: 35.94 kB / 0.9192 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.821, allocations: 11.98 kB / 0.9192 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001234/0.8223, allocations: 0.7143 MB / 0.9199 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.8223, allocations: 4 kB / 0.9199 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.8223, allocations: 8 kB / 0.9199 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.8238, allocations: 251.8 kB / 0.9201 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.825, allocations: 1.401 MB / 0.9215 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00097/0.826, allocations: 119.2 kB / 0.9216 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/0.8261, allocations: 31.94 kB / 0.9217 GB, free: 12.49 MB / 0.6387 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005903/0.8267, allocations: 365.5 kB / 0.922 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.8269, allocations: 106.7 kB / 0.9221 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.8286, allocations: 0.7979 MB / 0.9229 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.8286, allocations: 11.98 kB / 0.9229 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.8286, allocations: 4 kB / 0.9229 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001363/0.83, allocations: 0.7078 MB / 0.9236 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.8331, allocations: 1.926 MB / 0.9255 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.8331, allocations: 4.219 kB / 0.9255 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/0.8338, allocations: 139.8 kB / 0.9256 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004123/0.8343, allocations: 48.81 kB / 0.9257 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/0.8343, allocations: 20 kB / 0.9257 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.8357, allocations: 1.36 MB / 0.927 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.8357, allocations: 4.031 kB / 0.927 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.8379, allocations: 1.226 MB / 0.9282 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.8383, allocations: 255.4 kB / 0.9285 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.8385, allocations: 23.98 kB / 0.9285 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006303/0.8391, allocations: 59.86 kB / 0.9285 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.784e-05/0.8392, allocations: 44.44 kB / 0.9286 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.8392, allocations: 23.94 kB / 0.9286 GB, free: 5.047 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008996/0.8401, allocations: 0.6006 MB / 0.9292 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8402, allocations: 0 / 0.9292 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001524/0.8417, allocations: 0.5297 MB / 0.9297 GB, free: 3.906 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005394/0.8422, allocations: 220.5 kB / 0.9299 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00366/0.8459, allocations: 1.193 MB / 0.9311 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.8459, allocations: 3.938 kB / 0.9311 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007874/0.8467, allocations: 446.8 kB / 0.9315 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/0.8495, allocations: 0.5037 MB / 0.932 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/0.8538, allocations: 2.746 MB / 0.9347 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007448/0.8546, allocations: 1.144 MB / 0.9358 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001208/0.8558, allocations: 276.8 kB / 0.9361 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.8561, allocations: 75.44 kB / 0.9361 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of SimCode: time 8.71e-07/0.8561, allocations: 0 / 0.9361 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.03182/0.8879, allocations: 16.92 MB / 0.9527 GB, free: 12.57 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)