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.001618/0.001618, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001887/0.001887, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9937/0.9937, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001738, allocations: 64.05 kB / 0.5047 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1898, allocations: 80.93 MB / 0.5837 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6599/0.8497, allocations: 272.5 MB / 0.8498 GB, free: 12.7 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4325/1.282, allocations: 17.44 MB / 0.8668 GB, free: 27.75 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/1.285, allocations: 67.45 kB / 0.8669 GB, free: 27.74 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002715/1.287, allocations: 1.001 MB / 0.8679 GB, free: 27.74 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007176/1.295, allocations: 2.915 MB / 0.8707 GB, free: 27.72 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005022/1.3, allocations: 2.014 MB / 0.8727 GB, free: 27.66 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006862/1.306, allocations: 6.727 MB / 0.8792 GB, free: 27.66 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/1.309, allocations: 1.482 MB / 0.8807 GB, free: 27.51 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006181/1.315, allocations: 2.109 MB / 0.8828 GB, free: 27.49 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003877/1.319, allocations: 1.594 MB / 0.8843 GB, free: 27.48 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006494/1.32, allocations: 96.06 kB / 0.8844 GB, free: 27.48 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007013/1.327, allocations: 3.424 MB / 0.8877 GB, free: 27.45 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00139/1.328, allocations: 0.6327 MB / 0.8884 GB, free: 27.45 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003188/1.331, allocations: 1.021 MB / 0.8894 GB, free: 27.45 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01045/1.342, allocations: 3.914 MB / 0.8932 GB, free: 27.19 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.342, allocations: 1.375 kB / 0.8932 GB, free: 27.19 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.052e-06/1.342, allocations: 0 / 0.8932 GB, free: 27.19 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001257/1.342, allocations: 0 / 0.8932 GB, free: 27.19 MB / 0.67 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.007722/1.35, allocations: 2.434 MB / 0.8956 GB, free: 25.98 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.35, allocations: 10.09 kB / 0.8956 GB, free: 25.98 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005326/1.355, allocations: 0.6363 MB / 0.8962 GB, free: 25.87 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003049/1.358, allocations: 1.335 MB / 0.8975 GB, free: 25.44 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/1.358, allocations: 106.4 kB / 0.8976 GB, free: 25.44 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004717/1.359, allocations: 138.5 kB / 0.8977 GB, free: 25.44 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003512/1.362, allocations: 1.566 MB / 0.8993 GB, free: 25.24 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/1.362, allocations: 7.031 kB / 0.8993 GB, free: 25.24 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/1.363, allocations: 56.59 kB / 0.8993 GB, free: 25.24 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.578e-05/1.363, allocations: 46.95 kB / 0.8994 GB, free: 25.24 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/1.365, allocations: 1.261 MB / 0.9006 GB, free: 25.22 MB / 0.67 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.0107/1.376, allocations: 7.203 MB / 0.9076 GB, free: 21.33 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/1.377, allocations: 0.6448 MB / 0.9083 GB, free: 21.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005758/1.378, allocations: 377.2 kB / 0.9086 GB, free: 21.29 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/1.378, allocations: 109.5 kB / 0.9087 GB, free: 21.19 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.1e-05/1.378, allocations: 50.81 kB / 0.9088 GB, free: 21.15 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0014/1.379, allocations: 150.9 kB / 0.9089 GB, free: 21.09 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 5.009e-06/1.379, allocations: 0 / 0.9089 GB, free: 21.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.002236/1.382, allocations: 1.013 MB / 0.9099 GB, free: 20.97 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/1.382, allocations: 60.06 kB / 0.91 GB, free: 20.91 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/1.384, allocations: 1.335 MB / 0.9113 GB, free: 20.74 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/1.384, allocations: 44.42 kB / 0.9113 GB, free: 20.71 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/1.385, allocations: 0.7753 MB / 0.9121 GB, free: 20.41 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/1.385, allocations: 241.1 kB / 0.9123 GB, free: 20.26 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003654/1.385, allocations: 200.5 kB / 0.9125 GB, free: 20.23 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.875e-05/1.385, allocations: 349.4 kB / 0.9128 GB, free: 19.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006209/1.386, allocations: 355.4 kB / 0.9132 GB, free: 19.92 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/1.387, allocations: 0.6768 MB / 0.9138 GB, free: 19.55 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/1.388, allocations: 0.951 MB / 0.9147 GB, free: 19.29 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.388, allocations: 2.688 kB / 0.9148 GB, free: 19.29 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002187/1.39, allocations: 1.153 MB / 0.9159 GB, free: 19.17 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/1.39, allocations: 7.938 kB / 0.9159 GB, free: 19.17 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/1.39, allocations: 9.484 kB / 0.9159 GB, free: 19.17 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.339e-05/1.39, allocations: 14.12 kB / 0.9159 GB, free: 19.17 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009483/1.391, allocations: 211.7 kB / 0.9161 GB, free: 19.16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.72e-05/1.391, allocations: 16.62 kB / 0.9161 GB, free: 19.16 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/1.393, allocations: 124 kB / 0.9162 GB, free: 19.14 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/1.394, allocations: 41.42 kB / 0.9163 GB, free: 19.14 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001352/1.395, allocations: 0.6841 MB / 0.917 GB, free: 19.06 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006724/1.396, allocations: 0.6752 MB / 0.9176 GB, free: 18.68 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001118/1.397, allocations: 0.9456 MB / 0.9185 GB, free: 18.43 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.743e-06/1.397, allocations: 3.344 kB / 0.9185 GB, free: 18.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001816/1.399, allocations: 1.145 MB / 0.9197 GB, free: 18.31 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/1.399, allocations: 12.28 kB / 0.9197 GB, free: 18.31 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.399, allocations: 9.562 kB / 0.9197 GB, free: 18.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/1.399, allocations: 15.09 kB / 0.9197 GB, free: 18.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008442/1.399, allocations: 211.3 kB / 0.9199 GB, free: 18.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/1.399, allocations: 17.22 kB / 0.9199 GB, free: 18.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/1.401, allocations: 124.6 kB / 0.92 GB, free: 18.29 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/1.402, allocations: 40.72 kB / 0.9201 GB, free: 18.29 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003061/1.402, allocations: 241.3 kB / 0.9203 GB, free: 18.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004334/1.402, allocations: 161.6 kB / 0.9204 GB, free: 18.02 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/1.404, allocations: 0.8143 MB / 0.9212 GB, free: 17.96 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/1.404, allocations: 7.906 kB / 0.9213 GB, free: 17.96 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.404, allocations: 0 / 0.9213 GB, free: 17.96 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009279/1.405, allocations: 0.7834 MB / 0.922 GB, free: 17.71 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004337/1.409, allocations: 2.293 MB / 0.9243 GB, free: 17.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.409, allocations: 2.688 kB / 0.9243 GB, free: 17.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008511/1.41, allocations: 174 kB / 0.9244 GB, free: 17.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.711e-05/1.41, allocations: 6.031 kB / 0.9244 GB, free: 17.32 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.516e-05/1.41, allocations: 18.38 kB / 0.9244 GB, free: 17.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/1.41, allocations: 8.344 kB / 0.9245 GB, free: 17.32 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.41, allocations: 3.797 kB / 0.9245 GB, free: 17.32 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/1.412, allocations: 1.312 MB / 0.9257 GB, free: 17.04 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009039/1.413, allocations: 311.7 kB / 0.926 GB, free: 16.87 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004097/1.413, allocations: 19.52 kB / 0.9261 GB, free: 16.87 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/1.415, allocations: 104.7 kB / 0.9262 GB, free: 16.85 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.255e-05/1.415, allocations: 46.61 kB / 0.9262 GB, free: 16.85 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.04e-05/1.415, allocations: 32.58 kB / 0.9262 GB, free: 16.85 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001485/1.417, allocations: 0.9126 MB / 0.9271 GB, free: 16.73 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.417, allocations: 0 / 0.9271 GB, free: 16.73 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002825/1.419, allocations: 0.846 MB / 0.9279 GB, free: 16.63 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 (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.0006021/1.42, allocations: 259.8 kB / 0.9282 GB, free: 16.51 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002095/1.422, allocations: 1.322 MB / 0.9295 GB, free: 16.49 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.422, allocations: 0 / 0.9295 GB, free: 16.49 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004462/1.423, allocations: 352.4 kB / 0.9298 GB, free: 16.49 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004318/1.427, allocations: 0.8293 MB / 0.9306 GB, free: 16.43 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/1.431, allocations: 3.493 MB / 0.934 GB, free: 14.53 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009221/1.432, allocations: 1.349 MB / 0.9354 GB, free: 13.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001958/1.434, allocations: 411.3 kB / 0.9358 GB, free: 13.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/1.435, allocations: 115.4 kB / 0.9359 GB, free: 13.69 MB / 0.67 GB Notification: Performance of SimCode: time 7.02e-07/1.435, allocations: 0 / 0.9359 GB, free: 13.69 MB / 0.67 GB Notification: Performance of Templates: time 0.04435/1.479, allocations: 28.14 MB / 0.9633 GB, free: 5.875 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (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)