Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008376/0.0008376, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009452/0.0009454, allocations: 177.3 kB / 15.95 MB, free: 216 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.202/1.202, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8722/0.8722, allocations: 135.2 MB / 426.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002798, allocations: 8 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 82.32 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.4573/0.5988, allocations: 223.7 MB / 0.8056 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01941/0.6183, allocations: 15.84 MB / 0.8211 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.62, allocations: 55.62 kB / 0.8212 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.6226, allocations: 0.9993 MB / 0.8221 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007402/0.63, allocations: 3.012 MB / 0.8251 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004405/0.6344, allocations: 1.756 MB / 0.8268 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004302/0.6387, allocations: 2.715 MB / 0.8294 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.6405, allocations: 1.337 MB / 0.8307 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/0.6433, allocations: 1.585 MB / 0.8323 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.6444, allocations: 0.9376 MB / 0.8332 GB, free: 492 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.6446, allocations: 72 kB / 0.8333 GB, free: 420 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.6474, allocations: 1.318 MB / 0.8346 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000485/0.6479, allocations: 0.5453 MB / 0.8351 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004012/0.6484, allocations: 428.7 kB / 0.8355 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002276/0.6506, allocations: 2.451 MB / 0.8379 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.6506, allocations: 0 / 0.8379 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6507, allocations: 0 / 0.8379 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.255e-05/0.6507, allocations: 4 kB / 0.8379 GB, free: 11.66 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.002918/0.6536, allocations: 1.995 MB / 0.8398 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.6536, allocations: 8.031 kB / 0.8399 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003721/0.6574, allocations: 0.6495 MB / 0.8405 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.6593, allocations: 1.281 MB / 0.8417 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.761e-05/0.6593, allocations: 106.5 kB / 0.8418 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.6595, allocations: 136 kB / 0.842 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.6616, allocations: 1.553 MB / 0.8435 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.6617, allocations: 7.875 kB / 0.8435 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.6618, allocations: 63.97 kB / 0.8436 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/0.6618, allocations: 50.44 kB / 0.8436 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.6636, allocations: 1.259 MB / 0.8448 GB, free: 4.355 MB / 0.6544 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.007295/0.6709, allocations: 7.203 MB / 0.8519 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008619/0.6718, allocations: 0.6412 MB / 0.8525 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 5.938e-05/0.6719, allocations: 20.53 kB / 0.8525 GB, free: 11.92 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.6719, allocations: 47.12 kB / 0.8526 GB, free: 11.86 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005455/0.6725, allocations: 151 kB / 0.8527 GB, free: 11.71 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 2.084e-06/0.6725, allocations: 0 / 0.8527 GB, free: 11.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.001596/0.6741, allocations: 1.013 MB / 0.8537 GB, free: 10.7 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.6741, allocations: 55.97 kB / 0.8537 GB, free: 10.63 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.6756, allocations: 1.331 MB / 0.855 GB, free: 9.289 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.6756, allocations: 45.7 kB / 0.8551 GB, free: 9.238 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005092/0.6762, allocations: 0.7659 MB / 0.8558 GB, free: 8.465 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.6763, allocations: 256.4 kB / 0.8561 GB, free: 8.211 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.6764, allocations: 20 kB / 0.8561 GB, free: 8.191 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.6765, allocations: 341.9 kB / 0.8564 GB, free: 7.852 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.677, allocations: 337.8 kB / 0.8568 GB, free: 7.52 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007136/0.6777, allocations: 0.6673 MB / 0.8574 GB, free: 6.715 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006142/0.6783, allocations: 454.8 kB / 0.8578 GB, free: 6.273 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6784, allocations: 0 / 0.8578 GB, free: 6.273 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001549/0.6799, allocations: 1.132 MB / 0.8589 GB, free: 5.133 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009464/0.6809, allocations: 2.688 MB / 0.8616 GB, free: 2.297 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.6809, allocations: 7.906 kB / 0.8616 GB, free: 2.293 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.6809, allocations: 16 kB / 0.8616 GB, free: 2.277 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008089/0.6817, allocations: 211.6 kB / 0.8618 GB, free: 2.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.6818, allocations: 15.94 kB / 0.8618 GB, free: 2.055 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.6831, allocations: 126.5 kB / 0.8619 GB, free: 1.934 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.6831, allocations: 36 kB / 0.862 GB, free: 1.898 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.323e-06/0.6832, allocations: 4 kB / 0.862 GB, free: 1.895 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001285/0.6844, allocations: 0.9686 MB / 0.8629 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6845, allocations: 8 kB / 0.8629 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.6845, allocations: 20.05 kB / 0.8629 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/0.6852, allocations: 211.7 kB / 0.8631 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.6852, allocations: 11.94 kB / 0.8632 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.6864, allocations: 125.1 kB / 0.8633 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/0.6864, allocations: 47.92 kB / 0.8633 GB, free: 0.5078 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 2 * 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.0005793/0.687, allocations: 0.489 MB / 0.8638 GB, free: 8 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.219/0.906, allocations: 144.5 kB / 0.8639 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.9075, allocations: 0.8218 MB / 0.8647 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.9075, allocations: 5.906 kB / 0.8647 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.9075, allocations: 2.906 kB / 0.8647 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007921/0.9083, allocations: 0.7814 MB / 0.8655 GB, free: 217.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/0.9117, allocations: 2.286 MB / 0.8677 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.9117, allocations: 4.344 kB / 0.8677 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007255/0.9125, allocations: 166.5 kB / 0.8679 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.9125, allocations: 12.11 kB / 0.8679 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.9125, allocations: 22.16 kB / 0.8679 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.9125, allocations: 3.406 kB / 0.8679 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.9125, allocations: 4.125 kB / 0.8679 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.914, allocations: 1.393 MB / 0.8693 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006015/0.9146, allocations: 323.7 kB / 0.8696 GB, free: 216.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.9148, allocations: 19.91 kB / 0.8696 GB, free: 216.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009245/0.9157, allocations: 96.86 kB / 0.8697 GB, free: 216.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.115e-05/0.9158, allocations: 45.38 kB / 0.8698 GB, free: 216.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/0.9158, allocations: 31.67 kB / 0.8698 GB, free: 216.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009091/0.9167, allocations: 0.8981 MB / 0.8707 GB, free: 216.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9167, allocations: 0 / 0.8707 GB, free: 216.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001586/0.9183, allocations: 0.8379 MB / 0.8715 GB, free: 216.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * 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 (71): * Single equations (assignments): 71 * 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.0004188/0.9188, allocations: 260.7 kB / 0.8717 GB, free: 216.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.9202, allocations: 1.308 MB / 0.873 GB, free: 216 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.9202, allocations: 2.906 kB / 0.873 GB, free: 216 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.9206, allocations: 356.2 kB / 0.8734 GB, free: 215.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/0.9237, allocations: 0.8194 MB / 0.8742 GB, free: 215.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.9268, allocations: 3.464 MB / 0.8775 GB, free: 213.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/0.9274, allocations: 1.383 MB / 0.8789 GB, free: 213.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001262/0.9286, allocations: 421 kB / 0.8793 GB, free: 213 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.9289, allocations: 115.8 kB / 0.8794 GB, free: 213 MB / 0.67 GB Notification: Performance of SimCode: time 9.02e-07/0.9289, allocations: 0 / 0.8794 GB, free: 213 MB / 0.67 GB Notification: Performance of Templates: time 0.0383/0.9672, allocations: 27.11 MB / 0.9059 GB, free: 209.4 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) Environment - environmentSimulation: