Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0008356/0.0008356, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008464/0.0008466, allocations: 172.7 kB / 15.95 MB, free: 208 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.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.048/1.048, allocations: 135.3 MB / 426.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003621, allocations: 8 kB / 0.507 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1756, allocations: 82.3 MB / 0.5874 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.546/0.7217, allocations: 202.7 MB / 0.7854 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01857/0.7403, allocations: 11.35 MB / 0.7964 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.7431, allocations: 59.62 kB / 0.7965 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002312/0.7454, allocations: 0.5859 MB / 0.7971 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006933/0.7523, allocations: 2.119 MB / 0.7991 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.7558, allocations: 1.028 MB / 0.8001 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007881/0.7637, allocations: 5.128 MB / 0.8051 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.7666, allocations: 1.323 MB / 0.8064 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005714/0.7723, allocations: 1.933 MB / 0.8083 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003377/0.7757, allocations: 1.432 MB / 0.8097 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007567/0.7765, allocations: 83.94 kB / 0.8098 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004827/0.7813, allocations: 1.052 MB / 0.8108 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009709/0.7823, allocations: 0.5841 MB / 0.8114 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009065/0.7833, allocations: 384.7 kB / 0.8118 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003983/0.7873, allocations: 2.252 MB / 0.814 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7873, allocations: 0 / 0.814 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.524e-06/0.7873, allocations: 0 / 0.814 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.843e-05/0.7873, allocations: 0 / 0.814 GB, free: 4.871 MB / 0.6231 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.003696/0.791, allocations: 1.912 MB / 0.8158 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7911, allocations: 12.03 kB / 0.8158 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/0.794, allocations: 0.4972 MB / 0.8163 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/0.7963, allocations: 1.197 MB / 0.8175 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.66e-05/0.7964, allocations: 110.8 kB / 0.8176 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/0.7967, allocations: 148 kB / 0.8177 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00292/0.7997, allocations: 1.749 MB / 0.8195 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.7997, allocations: 15.92 kB / 0.8195 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.7998, allocations: 60 kB / 0.8195 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.75e-05/0.7999, allocations: 50.55 kB / 0.8196 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.8021, allocations: 1.387 MB / 0.8209 GB, free: 13.51 MB / 0.6387 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.009169/0.8113, allocations: 7.288 MB / 0.828 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.8128, allocations: 1.023 MB / 0.829 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.8138, allocations: 0.6983 MB / 0.8297 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002616/0.8141, allocations: 110.2 kB / 0.8298 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.8142, allocations: 51.56 kB / 0.8299 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001247/0.8154, allocations: 306.5 kB / 0.8302 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=106): time 3.667e-06/0.8154, allocations: 0 / 0.8302 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=112): time 0.007474/0.8229, allocations: 4.291 MB / 0.8344 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.8231, allocations: 175.3 kB / 0.8345 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.8247, allocations: 1.247 MB / 0.8358 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.179e-05/0.8248, allocations: 53.7 kB / 0.8358 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005582/0.8254, allocations: 0.693 MB / 0.8365 GB, free: 13 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004022/0.8258, allocations: 410.1 kB / 0.8369 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.8259, allocations: 24 kB / 0.8369 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.8261, allocations: 357.9 kB / 0.8372 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008951/0.827, allocations: 0.5075 MB / 0.8377 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.8281, allocations: 0.8401 MB / 0.8386 GB, free: 10.74 MB / 0.6544 GB 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) 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009268/0.8373, allocations: 3.452 MB / 0.8419 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.8374, allocations: 0 / 0.8419 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00267/0.84, allocations: 1.596 MB / 0.8435 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.8401, allocations: 8 kB / 0.8435 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.8401, allocations: 8 kB / 0.8435 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/0.8401, allocations: 19.95 kB / 0.8435 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.8412, allocations: 291.6 kB / 0.8438 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/0.8413, allocations: 19.94 kB / 0.8438 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.8426, allocations: 106.2 kB / 0.8439 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-05/0.8427, allocations: 55.98 kB / 0.844 GB, free: 5.141 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007563/0.8435, allocations: 427.4 kB / 0.8444 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.8438, allocations: 162 kB / 0.8445 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.8459, allocations: 1.267 MB / 0.8458 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.8459, allocations: 12 kB / 0.8458 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.846, allocations: 3.938 kB / 0.8458 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001523/0.8475, allocations: 1.225 MB / 0.847 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005689/0.8532, allocations: 3.735 MB / 0.8506 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.8532, allocations: 12 kB / 0.8506 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.8543, allocations: 255.6 kB / 0.8509 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.029e-05/0.8543, allocations: 16 kB / 0.8509 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-05/0.8544, allocations: 39.98 kB / 0.8509 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.7e-05/0.8545, allocations: 19.94 kB / 0.851 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.708e-05/0.8545, allocations: 19.06 kB / 0.851 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/0.8574, allocations: 2.18 MB / 0.8531 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006694/0.8581, allocations: 366.9 kB / 0.8534 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.8583, allocations: 39.98 kB / 0.8535 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.8593, allocations: 97.03 kB / 0.8536 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.8595, allocations: 100.3 kB / 0.8537 GB, free: 10.74 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-05/0.8595, allocations: 47.98 kB / 0.8537 GB, free: 10.69 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0011/0.8607, allocations: 0.8412 MB / 0.8545 GB, free: 9.852 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8607, allocations: 0 / 0.8545 GB, free: 9.852 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001387/0.8621, allocations: 440 kB / 0.855 GB, free: 9.422 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005249/0.8626, allocations: 240.7 kB / 0.8552 GB, free: 9.199 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.8646, allocations: 1.208 MB / 0.8564 GB, free: 7.996 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/0.8646, allocations: 4.109 kB / 0.8564 GB, free: 7.992 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000769/0.8654, allocations: 0.5406 MB / 0.8569 GB, free: 7.453 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/0.8693, allocations: 0.8868 MB / 0.8578 GB, free: 6.594 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005195/0.8745, allocations: 4.026 MB / 0.8617 GB, free: 2.406 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.8756, allocations: 1.368 MB / 0.863 GB, free: 1.008 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001467/0.877, allocations: 377.3 kB / 0.8634 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/0.8775, allocations: 123.4 kB / 0.8635 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of SimCode: time 1.153e-06/0.8775, allocations: 0 / 0.8635 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of Templates: time 0.3408/1.218, allocations: 27.81 MB / 0.8907 GB, free: 213.9 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)