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.001717/0.001717, allocations: 103.9 kB / 16.27 MB, free: 6.055 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.002097/0.002097, allocations: 187.6 kB / 17.19 MB, free: 5.684 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7785/0.7785, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002127, allocations: 59.91 kB / 0.4911 GB, free: 7.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4303, allocations: 77.93 MB / 0.5672 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6787/1.109, allocations: 222.6 MB / 0.7846 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01997/1.129, allocations: 12.12 MB / 0.7964 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004147/1.133, allocations: 73.25 kB / 0.7965 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003049/1.136, allocations: 0.8583 MB / 0.7973 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01075/1.147, allocations: 2.868 MB / 0.8001 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005004/1.152, allocations: 1.421 MB / 0.8015 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007926/1.16, allocations: 4.454 MB / 0.8058 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004115/1.164, allocations: 1.718 MB / 0.8075 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007556/1.172, allocations: 2.463 MB / 0.8099 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004004/1.176, allocations: 1.546 MB / 0.8114 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001074/1.177, allocations: 178.5 kB / 0.8116 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0067/1.184, allocations: 2.168 MB / 0.8137 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001778/1.186, allocations: 0.7087 MB / 0.8144 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003626/1.189, allocations: 1.042 MB / 0.8154 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/1.199, allocations: 3.276 MB / 0.8186 GB, free: 100 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.199, allocations: 0 / 0.8186 GB, free: 100 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.545e-06/1.199, allocations: 2.438 kB / 0.8186 GB, free: 100 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001501/1.2, allocations: 0.7812 kB / 0.8186 GB, free: 100 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.007863/1.208, allocations: 2.283 MB / 0.8209 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/1.208, allocations: 9.219 kB / 0.8209 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00407/1.212, allocations: 0.4958 MB / 0.8214 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/1.215, allocations: 1.254 MB / 0.8226 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/1.216, allocations: 109.8 kB / 0.8227 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007023/1.216, allocations: 150.1 kB / 0.8228 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004849/1.221, allocations: 1.759 MB / 0.8245 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-05/1.221, allocations: 5.844 kB / 0.8246 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003815/1.222, allocations: 62.77 kB / 0.8246 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-05/1.222, allocations: 54.03 kB / 0.8247 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003296/1.225, allocations: 1.396 MB / 0.826 GB, free: 13.61 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.01252/1.238, allocations: 7.343 MB / 0.8332 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/1.24, allocations: 1.066 MB / 0.8342 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/1.241, allocations: 0.696 MB / 0.8349 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/1.241, allocations: 109.3 kB / 0.835 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/1.241, allocations: 58.8 kB / 0.8351 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001467/1.243, allocations: 302.4 kB / 0.8354 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 9.017e-06/1.243, allocations: 0 / 0.8354 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of matching and sorting (n=112): time 0.01131/1.254, allocations: 4.446 MB / 0.8397 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/1.254, allocations: 172.3 kB / 0.8399 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/1.256, allocations: 1.261 MB / 0.8411 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002129/1.257, allocations: 49.7 kB / 0.8412 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006693/1.257, allocations: 0.7041 MB / 0.8418 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005707/1.258, allocations: 396.6 kB / 0.8422 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000504/1.258, allocations: 267.3 kB / 0.8425 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.259, allocations: 362 kB / 0.8428 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009508/1.26, allocations: 0.527 MB / 0.8433 GB, free: 304 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/1.261, allocations: 0.8546 MB / 0.8442 GB, free: 15.32 MB / 0.6075 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.0124/1.273, allocations: 4.798 MB / 0.8489 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/1.273, allocations: 4 kB / 0.8489 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003271/1.277, allocations: 1.61 MB / 0.8504 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/1.277, allocations: 8 kB / 0.8504 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/1.277, allocations: 12.88 kB / 0.8505 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.486e-05/1.277, allocations: 15.94 kB / 0.8505 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.278, allocations: 300.2 kB / 0.8508 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.2e-05/1.278, allocations: 14.53 kB / 0.8508 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/1.28, allocations: 53.77 kB / 0.8508 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/1.28, allocations: 59.98 kB / 0.8509 GB, free: 8.387 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.001076/1.281, allocations: 427.5 kB / 0.8513 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006205/1.282, allocations: 166 kB / 0.8514 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/1.284, allocations: 1.302 MB / 0.8527 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/1.284, allocations: 14.53 kB / 0.8527 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.284, allocations: 0 / 0.8527 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001749/1.286, allocations: 1.241 MB / 0.8539 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007382/1.294, allocations: 3.768 MB / 0.8576 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/1.294, allocations: 13 kB / 0.8576 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/1.295, allocations: 247.2 kB / 0.8579 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-05/1.295, allocations: 23.94 kB / 0.8579 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/1.295, allocations: 39.98 kB / 0.8579 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-05/1.295, allocations: 17.06 kB / 0.8579 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/1.295, allocations: 17.11 kB / 0.858 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003374/1.298, allocations: 2.125 MB / 0.86 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/1.3, allocations: 355 kB / 0.8604 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004747/1.3, allocations: 47.92 kB / 0.8604 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/1.302, allocations: 54.56 kB / 0.8605 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/1.302, allocations: 96.12 kB / 0.8606 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/1.302, allocations: 55.98 kB / 0.8606 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001644/1.304, allocations: 0.849 MB / 0.8614 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.81e-07/1.304, allocations: 0 / 0.8614 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002115/1.306, allocations: 432 kB / 0.8619 GB, free: 12.84 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.0006522/1.306, allocations: 238.8 kB / 0.8621 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002926/1.309, allocations: 1.431 MB / 0.8635 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/1.309, allocations: 8.062 kB / 0.8635 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008586/1.31, allocations: 0.5485 MB / 0.864 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00546/1.316, allocations: 0.9383 MB / 0.8649 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/1.322, allocations: 3.423 MB / 0.8683 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/1.324, allocations: 1.379 MB / 0.8696 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002068/1.326, allocations: 385.3 kB / 0.87 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006017/1.326, allocations: 131.4 kB / 0.8701 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of SimCode: time 9.62e-07/1.326, allocations: 0 / 0.8701 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of Templates: time 0.05457/1.381, allocations: 30.36 MB / 0.8998 GB, free: 6.469 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)