Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00102/0.00102, allocations: 102.2 kB / 15.98 MB, free: 6.332 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.001057/0.001057, allocations: 198.9 kB / 16.91 MB, free: 6.18 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.365/1.365, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7688/0.7688, allocations: 122.9 MB / 413.6 MB, free: 68 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.89 kB / 0.4906 GB, free: 7.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4083, allocations: 77.92 MB / 0.5667 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5922/1.001, allocations: 219.8 MB / 0.7813 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01766/1.018, allocations: 12.04 MB / 0.7931 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005116/1.023, allocations: 65.53 kB / 0.7931 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00295/1.026, allocations: 0.7452 MB / 0.7939 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009198/1.036, allocations: 2.683 MB / 0.7965 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004206/1.04, allocations: 1.302 MB / 0.7977 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006188/1.046, allocations: 4.449 MB / 0.8021 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/1.049, allocations: 1.688 MB / 0.8037 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006306/1.055, allocations: 2.455 MB / 0.8061 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004223/1.059, allocations: 1.635 MB / 0.8077 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000529/1.06, allocations: 180.4 kB / 0.8079 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005013/1.065, allocations: 2.276 MB / 0.8101 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008565/1.066, allocations: 0.7089 MB / 0.8108 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001482/1.067, allocations: 1.047 MB / 0.8118 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005321/1.073, allocations: 3.427 MB / 0.8152 GB, free: 200 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.073, allocations: 0 / 0.8152 GB, free: 200 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.003e-06/1.073, allocations: 0 / 0.8152 GB, free: 200 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.433e-05/1.073, allocations: 0.9688 kB / 0.8152 GB, free: 200 kB / 0.5762 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.004054/1.077, allocations: 2.276 MB / 0.8174 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/1.077, allocations: 10.78 kB / 0.8174 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/1.08, allocations: 0.4978 MB / 0.8179 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002162/1.082, allocations: 1.257 MB / 0.8191 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/1.082, allocations: 109.9 kB / 0.8192 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/1.083, allocations: 149.2 kB / 0.8194 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/1.085, allocations: 1.763 MB / 0.8211 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/1.085, allocations: 10.78 kB / 0.8211 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/1.086, allocations: 60.47 kB / 0.8212 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.339e-05/1.086, allocations: 55.41 kB / 0.8212 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/1.088, allocations: 1.401 MB / 0.8226 GB, free: 14.25 MB / 0.5919 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.009686/1.098, allocations: 7.297 MB / 0.8297 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/1.099, allocations: 1.056 MB / 0.8308 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009341/1.1, allocations: 0.6927 MB / 0.8314 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/1.1, allocations: 118 kB / 0.8315 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/1.1, allocations: 52.97 kB / 0.8316 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001415/1.102, allocations: 308.5 kB / 0.8319 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 5.901e-06/1.102, allocations: 0 / 0.8319 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=112): time 0.009292/1.111, allocations: 4.443 MB / 0.8362 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/1.111, allocations: 172 kB / 0.8364 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/1.113, allocations: 1.261 MB / 0.8376 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001409/1.113, allocations: 49.77 kB / 0.8377 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005321/1.114, allocations: 0.6979 MB / 0.8384 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000396/1.114, allocations: 401.3 kB / 0.8387 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004015/1.115, allocations: 263.8 kB / 0.839 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.115, allocations: 368.1 kB / 0.8393 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007989/1.116, allocations: 0.522 MB / 0.8398 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/1.117, allocations: 0.8565 MB / 0.8407 GB, free: 1.391 MB / 0.5919 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.01244/1.129, allocations: 4.809 MB / 0.8454 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/1.129, allocations: 4 kB / 0.8454 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00358/1.133, allocations: 1.613 MB / 0.847 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/1.133, allocations: 8 kB / 0.847 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/1.133, allocations: 8.906 kB / 0.847 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.071e-05/1.133, allocations: 16 kB / 0.847 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.134, allocations: 297.6 kB / 0.8473 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-05/1.134, allocations: 21.16 kB / 0.8473 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/1.136, allocations: 110.3 kB / 0.8474 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/1.137, allocations: 63.98 kB / 0.8475 GB, free: 10.39 MB / 0.6075 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.001164/1.138, allocations: 426.6 kB / 0.8479 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006391/1.138, allocations: 162 kB / 0.848 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/1.141, allocations: 1.291 MB / 0.8493 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/1.141, allocations: 15.98 kB / 0.8493 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.141, allocations: 7.984 kB / 0.8493 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001644/1.143, allocations: 1.239 MB / 0.8505 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007078/1.15, allocations: 3.776 MB / 0.8542 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/1.15, allocations: 11.94 kB / 0.8542 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/1.151, allocations: 247 kB / 0.8544 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.223e-05/1.151, allocations: 16 kB / 0.8545 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/1.151, allocations: 39.98 kB / 0.8545 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-05/1.151, allocations: 21.16 kB / 0.8545 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/1.151, allocations: 14.44 kB / 0.8545 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/1.154, allocations: 2.12 MB / 0.8566 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008921/1.155, allocations: 366.9 kB / 0.857 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003334/1.156, allocations: 35.98 kB / 0.857 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/1.157, allocations: 98.28 kB / 0.8571 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/1.157, allocations: 98.75 kB / 0.8572 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.157, allocations: 51.98 kB / 0.8572 GB, free: 88 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001352/1.159, allocations: 0.849 MB / 0.8581 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/1.159, allocations: 0 / 0.8581 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001743/1.16, allocations: 440 kB / 0.8585 GB, free: 14.81 MB / 0.6231 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.0006486/1.161, allocations: 239.2 kB / 0.8587 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002817/1.164, allocations: 1.43 MB / 0.8601 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.164, allocations: 1.688 kB / 0.8601 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008329/1.165, allocations: 0.5548 MB / 0.8606 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004653/1.169, allocations: 0.9308 MB / 0.8616 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006595/1.176, allocations: 4.017 MB / 0.8655 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/1.177, allocations: 1.376 MB / 0.8668 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001719/1.179, allocations: 389.3 kB / 0.8672 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/1.18, allocations: 127.4 kB / 0.8673 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of SimCode: time 7.92e-07/1.18, allocations: 4 kB / 0.8673 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of Templates: time 0.05416/1.234, allocations: 30.23 MB / 0.8968 GB, free: 7.992 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)