Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001509/0.00151, allocations: 104.8 kB / 16.41 MB, free: 6.496 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.001326/0.001326, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002256/0.002256, allocations: 289.5 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9483/0.9483, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002016, allocations: 99.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4238, allocations: 86.99 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6232/1.047, allocations: 222.6 MB / 0.9844 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01528/1.062, allocations: 12.13 MB / 0.9963 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/1.065, allocations: 73.44 kB / 0.9964 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002614/1.068, allocations: 0.8546 MB / 0.9972 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007747/1.076, allocations: 2.862 MB / 1 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003777/1.08, allocations: 1.437 MB / 1.001 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006115/1.086, allocations: 4.461 MB / 1.006 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002834/1.089, allocations: 1.724 MB / 1.007 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006109/1.095, allocations: 2.492 MB / 1.01 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003593/1.098, allocations: 1.568 MB / 1.011 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000768/1.099, allocations: 179.3 kB / 1.012 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00483/1.104, allocations: 2.169 MB / 1.014 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001099/1.105, allocations: 0.698 MB / 1.014 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002418/1.108, allocations: 1.046 MB / 1.015 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00663/1.114, allocations: 3.336 MB / 1.019 GB, free: 388 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.114, allocations: 2.438 kB / 1.019 GB, free: 388 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/1.114, allocations: 5.031 kB / 1.019 GB, free: 384 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001079/1.114, allocations: 0 / 1.019 GB, free: 384 kB / 0.7169 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.005725/1.12, allocations: 2.282 MB / 1.021 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/1.12, allocations: 7.344 kB / 1.021 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003274/1.123, allocations: 0.4951 MB / 1.021 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/1.126, allocations: 1.338 MB / 1.023 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/1.126, allocations: 106.3 kB / 1.023 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/1.126, allocations: 157.6 kB / 1.023 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/1.129, allocations: 1.758 MB / 1.025 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/1.129, allocations: 4.094 kB / 1.025 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/1.129, allocations: 63.73 kB / 1.025 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-05/1.129, allocations: 52.91 kB / 1.025 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/1.131, allocations: 1.399 MB / 1.026 GB, free: 14.44 MB / 0.7325 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.008827/1.14, allocations: 7.286 MB / 1.033 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/1.141, allocations: 1.052 MB / 1.034 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008189/1.142, allocations: 0.6953 MB / 1.035 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/1.143, allocations: 113.6 kB / 1.035 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/1.143, allocations: 51.16 kB / 1.035 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00128/1.144, allocations: 308.4 kB / 1.035 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 6.432e-06/1.144, allocations: 3.984 kB / 1.035 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=112): time 0.008195/1.152, allocations: 4.443 MB / 1.04 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.997e-05/1.152, allocations: 174.8 kB / 1.04 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/1.154, allocations: 1.27 MB / 1.041 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001942/1.154, allocations: 49.7 kB / 1.041 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/1.154, allocations: 0.6951 MB / 1.042 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/1.155, allocations: 398.8 kB / 1.042 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003551/1.155, allocations: 262.5 kB / 1.043 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.155, allocations: 364.3 kB / 1.043 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007512/1.156, allocations: 0.5254 MB / 1.043 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009862/1.157, allocations: 0.8503 MB / 1.044 GB, free: 5.34 MB / 0.7325 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.01109/1.168, allocations: 4.801 MB / 1.049 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/1.168, allocations: 2.906 kB / 1.049 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002527/1.171, allocations: 1.619 MB / 1.05 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.171, allocations: 8.5 kB / 1.05 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/1.171, allocations: 7.969 kB / 1.05 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/1.171, allocations: 17.38 kB / 1.05 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.172, allocations: 292.8 kB / 1.051 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/1.172, allocations: 22.48 kB / 1.051 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/1.173, allocations: 54.45 kB / 1.051 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/1.174, allocations: 60.86 kB / 1.051 GB, free: 1.914 MB / 0.7325 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.0007877/1.174, allocations: 433 kB / 1.051 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/1.175, allocations: 162.1 kB / 1.051 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/1.177, allocations: 1.294 MB / 1.053 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/1.177, allocations: 12 kB / 1.053 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.177, allocations: 0 / 1.053 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001497/1.178, allocations: 1.244 MB / 1.054 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005612/1.184, allocations: 3.766 MB / 1.058 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/1.184, allocations: 15.94 kB / 1.058 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/1.185, allocations: 243.5 kB / 1.058 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/1.185, allocations: 16 kB / 1.058 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.98e-05/1.185, allocations: 39.98 kB / 1.058 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/1.185, allocations: 19.12 kB / 1.058 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/1.185, allocations: 18.28 kB / 1.058 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002769/1.188, allocations: 2.123 MB / 1.06 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007354/1.189, allocations: 359 kB / 1.06 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/1.189, allocations: 43.98 kB / 1.06 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.19, allocations: 55.84 kB / 1.06 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/1.19, allocations: 101.8 kB / 1.061 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.078e-05/1.19, allocations: 51.98 kB / 1.061 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001154/1.192, allocations: 0.849 MB / 1.061 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/1.192, allocations: 0 / 1.061 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00149/1.193, allocations: 436 kB / 1.062 GB, free: 6.41 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,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.0005495/1.194, allocations: 240.8 kB / 1.062 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002013/1.196, allocations: 1.251 MB / 1.063 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.196, allocations: 4 kB / 1.063 GB, free: 4.988 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007302/1.196, allocations: 0.5463 MB / 1.064 GB, free: 4.484 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/1.2, allocations: 0.9296 MB / 1.065 GB, free: 3.574 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005248/1.206, allocations: 3.472 MB / 1.068 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009196/1.207, allocations: 1.372 MB / 1.07 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005686/1.207, allocations: 131.4 kB / 1.07 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of SimCode: time 6.02e-07/1.207, allocations: 0 / 1.07 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of Templates: time 0.03928/1.246, allocations: 25.65 MB / 1.095 GB, free: 5.059 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)