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.0009907/0.0009907, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.00121/0.00121, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001786/0.001786, allocations: 266.4 kB / 291.3 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.945/0.945, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003937, allocations: 13.59 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1332, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.4377/0.5709, allocations: 180.9 MB / 0.8612 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.5832, allocations: 9.676 MB / 0.8706 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.5843, allocations: 47.22 kB / 0.8706 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.5853, allocations: 401.8 kB / 0.871 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003545/0.5889, allocations: 1.45 MB / 0.8724 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.5915, allocations: 1.043 MB / 0.8735 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003132/0.5947, allocations: 3.142 MB / 0.8765 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.5958, allocations: 0.8705 MB / 0.8774 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.5982, allocations: 1.31 MB / 0.8787 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.5993, allocations: 0.8691 MB / 0.8795 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.5994, allocations: 46.56 kB / 0.8796 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.6022, allocations: 1.321 MB / 0.8808 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003429/0.6025, allocations: 336.5 kB / 0.8812 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.6028, allocations: 274.7 kB / 0.8814 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.6046, allocations: 1.671 MB / 0.8831 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.6046, allocations: 4 kB / 0.8831 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6046, allocations: 0 / 0.8831 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.6046, allocations: 0 / 0.8831 GB, free: 4.887 MB / 0.5919 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.00233/0.6069, allocations: 1.581 MB / 0.8846 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.607, allocations: 12.03 kB / 0.8846 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.609, allocations: 365.9 kB / 0.885 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.6104, allocations: 0.8825 MB / 0.8858 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/0.6105, allocations: 78 kB / 0.8859 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.6106, allocations: 104 kB / 0.886 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.6123, allocations: 1.101 MB / 0.8871 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.6124, allocations: 3.938 kB / 0.8871 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.805e-05/0.6125, allocations: 47.94 kB / 0.8871 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/0.6125, allocations: 34 kB / 0.8872 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.614, allocations: 0.8041 MB / 0.8879 GB, free: 15.73 MB / 0.6075 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.005407/0.6194, allocations: 5.078 MB / 0.8929 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.6206, allocations: 0.7074 MB / 0.8936 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.6212, allocations: 347 kB / 0.8939 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005676/0.6217, allocations: 323.8 kB / 0.8942 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.6218, allocations: 39.12 kB / 0.8943 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 2.465e-06/0.6218, allocations: 0 / 0.8943 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.001836/0.6236, allocations: 0.9467 MB / 0.8952 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.6237, allocations: 55.97 kB / 0.8953 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.6247, allocations: 0.8763 MB / 0.8961 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.492e-05/0.6248, allocations: 37.7 kB / 0.8961 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.6252, allocations: 0.5624 MB / 0.8967 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.6254, allocations: 252.4 kB / 0.8969 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.6254, allocations: 16 kB / 0.8969 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6256, allocations: 330 kB / 0.8973 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/0.626, allocations: 245.9 kB / 0.8975 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/0.6266, allocations: 449.3 kB / 0.8979 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/0.6272, allocations: 303.1 kB / 0.8982 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6272, allocations: 4 kB / 0.8982 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001374/0.6286, allocations: 0.8276 MB / 0.899 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.6287, allocations: 229.7 kB / 0.8992 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.6287, allocations: 4 kB / 0.8992 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6288, allocations: 11.95 kB / 0.8993 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.6302, allocations: 251.7 kB / 0.8995 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.6315, allocations: 1.399 MB / 0.9009 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007588/0.6323, allocations: 120.5 kB / 0.901 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.6324, allocations: 32 kB / 0.901 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.6324, allocations: 4 kB / 0.901 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001209/0.6336, allocations: 0.6983 MB / 0.9017 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.6336, allocations: 8 kB / 0.9017 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.6336, allocations: 11.94 kB / 0.9017 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.635, allocations: 260.3 kB / 0.902 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.6362, allocations: 1.397 MB / 0.9033 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.637, allocations: 112.8 kB / 0.9034 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/0.637, allocations: 31.98 kB / 0.9035 GB, free: 14.94 MB / 0.6231 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.0004434/0.6375, allocations: 376.8 kB / 0.9038 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.6376, allocations: 114.5 kB / 0.9039 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.6393, allocations: 0.7872 MB / 0.9047 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.6393, allocations: 8 kB / 0.9047 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.6393, allocations: 0 / 0.9047 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/0.6406, allocations: 0.7039 MB / 0.9054 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/0.6436, allocations: 1.93 MB / 0.9073 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.6437, allocations: 4 kB / 0.9073 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007191/0.6444, allocations: 143.9 kB / 0.9074 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003798/0.6448, allocations: 49.05 kB / 0.9075 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.195e-05/0.6448, allocations: 23.98 kB / 0.9075 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.646, allocations: 1.344 MB / 0.9088 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.646, allocations: 7.938 kB / 0.9088 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.6481, allocations: 1.223 MB / 0.91 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003353/0.6484, allocations: 255.5 kB / 0.9103 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.6485, allocations: 12 kB / 0.9103 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/0.6491, allocations: 59.89 kB / 0.9103 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.6492, allocations: 48.45 kB / 0.9104 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.6493, allocations: 27.98 kB / 0.9104 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007078/0.65, allocations: 0.5889 MB / 0.911 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.65, allocations: 0 / 0.911 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001279/0.6513, allocations: 0.5297 MB / 0.9115 GB, free: 6.367 MB / 0.6231 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.0004346/0.6517, allocations: 225.8 kB / 0.9117 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003219/0.655, allocations: 1.182 MB / 0.9129 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.655, allocations: 192 / 0.9129 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007243/0.6557, allocations: 446.1 kB / 0.9133 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.6579, allocations: 0.5027 MB / 0.9138 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.6616, allocations: 2.694 MB / 0.9164 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007181/0.6623, allocations: 1.136 MB / 0.9175 GB, free: 120 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001021/0.6633, allocations: 281 kB / 0.9178 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.6636, allocations: 83.36 kB / 0.9179 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.6636, allocations: 0 / 0.9179 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of Templates: time 0.02792/0.6915, allocations: 16.39 MB / 0.9339 GB, free: 15.62 MB / 0.6544 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)