Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 101.7 kB / 16.27 MB, free: 6.418 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.001078/0.001078, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001409/0.00141, allocations: 63.91 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.258, allocations: 114.6 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.8333/1.091, allocations: 222.6 MB / 1.001 GB, free: 11.78 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02092/1.112, allocations: 12.04 MB / 1.013 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00347/1.116, allocations: 71.56 kB / 1.013 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003165/1.119, allocations: 0.8577 MB / 1.014 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.009404/1.129, allocations: 2.843 MB / 1.017 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005095/1.134, allocations: 1.409 MB / 1.018 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007582/1.141, allocations: 4.39 MB / 1.022 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00416/1.146, allocations: 1.701 MB / 1.024 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007747/1.153, allocations: 2.453 MB / 1.027 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003903/1.157, allocations: 1.549 MB / 1.028 GB, free: 404 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0009362/1.158, allocations: 176 kB / 1.028 GB, free: 228 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006119/1.164, allocations: 2.159 MB / 1.03 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00171/1.166, allocations: 0.7012 MB / 1.031 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003252/1.169, allocations: 1.034 MB / 1.032 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.007875/1.177, allocations: 3.276 MB / 1.035 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.485e-06/1.177, allocations: 0 / 1.035 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.934e-06/1.177, allocations: 0 / 1.035 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001377/1.178, allocations: 0 / 1.035 GB, free: 9.031 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.006876/1.184, allocations: 2.275 MB / 1.037 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.184, allocations: 8.031 kB / 1.037 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00379/1.188, allocations: 0.4894 MB / 1.038 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/1.192, allocations: 1.231 MB / 1.039 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/1.192, allocations: 110.7 kB / 1.039 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006511/1.193, allocations: 151.9 kB / 1.039 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004464/1.197, allocations: 1.759 MB / 1.041 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-05/1.197, allocations: 3.938 kB / 1.041 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/1.197, allocations: 60 kB / 1.041 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.603e-05/1.197, allocations: 54.53 kB / 1.041 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/1.2, allocations: 1.392 MB / 1.043 GB, free: 1.273 MB / 0.8262 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.01173/1.212, allocations: 7.318 MB / 1.05 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/1.214, allocations: 1.027 MB / 1.051 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/1.215, allocations: 0.6945 MB / 1.051 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/1.215, allocations: 106.1 kB / 1.052 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.81e-05/1.215, allocations: 55.55 kB / 1.052 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001534/1.217, allocations: 298.8 kB / 1.052 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=106): time 1.062e-05/1.217, allocations: 11.88 kB / 1.052 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of matching and sorting (n=112): time 0.01022/1.227, allocations: 4.419 MB / 1.056 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/1.227, allocations: 175.3 kB / 1.056 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/1.229, allocations: 1.246 MB / 1.058 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001781/1.229, allocations: 49.7 kB / 1.058 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005924/1.23, allocations: 0.7005 MB / 1.058 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005051/1.23, allocations: 398.2 kB / 1.059 GB, free: 188 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004986/1.231, allocations: 259.4 kB / 1.059 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.231, allocations: 357.9 kB / 1.059 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000923/1.232, allocations: 0.527 MB / 1.06 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/1.233, allocations: 0.8547 MB / 1.061 GB, free: 14.06 MB / 0.8575 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0125/1.246, allocations: 4.796 MB / 1.065 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/1.246, allocations: 0 / 1.065 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003099/1.249, allocations: 1.62 MB / 1.067 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/1.249, allocations: 10.34 kB / 1.067 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/1.249, allocations: 8 kB / 1.067 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-05/1.249, allocations: 16 kB / 1.067 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.25, allocations: 287.5 kB / 1.067 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.225e-05/1.25, allocations: 23.88 kB / 1.067 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/1.252, allocations: 54.27 kB / 1.067 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/1.252, allocations: 56.19 kB / 1.067 GB, free: 7.039 MB / 0.8575 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009488/1.253, allocations: 431 kB / 1.068 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005408/1.254, allocations: 162.1 kB / 1.068 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/1.256, allocations: 1.283 MB / 1.069 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.256, allocations: 12 kB / 1.069 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.256, allocations: 10.62 kB / 1.069 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001584/1.258, allocations: 1.237 MB / 1.07 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007777/1.266, allocations: 3.754 MB / 1.074 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/1.266, allocations: 12 kB / 1.074 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/1.267, allocations: 251.6 kB / 1.074 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.375e-05/1.267, allocations: 23.92 kB / 1.074 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/1.267, allocations: 36 kB / 1.074 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.071e-05/1.267, allocations: 23.92 kB / 1.074 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.274e-05/1.267, allocations: 11.94 kB / 1.074 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/1.27, allocations: 2.219 MB / 1.077 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009285/1.271, allocations: 362.9 kB / 1.077 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003799/1.272, allocations: 39.98 kB / 1.077 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/1.273, allocations: 44.84 kB / 1.077 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/1.273, allocations: 104.3 kB / 1.077 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/1.273, allocations: 47.98 kB / 1.077 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001388/1.275, allocations: 0.8484 MB / 1.078 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.275, allocations: 0 / 1.078 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001633/1.276, allocations: 432 kB / 1.078 GB, free: 11.27 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005976/1.277, allocations: 246.7 kB / 1.079 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002728/1.28, allocations: 1.429 MB / 1.08 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.28, allocations: 0 / 1.08 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008284/1.281, allocations: 0.5565 MB / 1.081 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004654/1.285, allocations: 0.9395 MB / 1.081 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005611/1.291, allocations: 3.474 MB / 1.085 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/1.292, allocations: 1.368 MB / 1.086 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005368/1.293, allocations: 135.4 kB / 1.086 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of SimCode: time 1.082e-06/1.293, allocations: 0 / 1.086 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of Templates: time 0.03922/1.332, allocations: 25.22 MB / 1.111 GB, free: 10.07 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)