Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007957/0.0007957, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005071/0.005072, allocations: 169 kB / 16.26 MB, free: 6.652 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.322/1.322, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7594/0.7594, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003045, allocations: 12 kB / 0.5041 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3913, allocations: 81.58 MB / 0.5837 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5736/0.965, allocations: 268.8 MB / 0.8462 GB, free: 17.13 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01758/0.9826, allocations: 17.26 MB / 0.8631 GB, free: 16.94 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002037/0.9847, allocations: 55.69 kB / 0.8632 GB, free: 16.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.987, allocations: 1.001 MB / 0.8641 GB, free: 16.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006475/0.9935, allocations: 2.916 MB / 0.867 GB, free: 16.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004594/0.9981, allocations: 2.022 MB / 0.869 GB, free: 16.69 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006464/1.005, allocations: 6.725 MB / 0.8755 GB, free: 16.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/1.007, allocations: 1.441 MB / 0.8769 GB, free: 16.46 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005018/1.012, allocations: 2.046 MB / 0.8789 GB, free: 16.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003147/1.015, allocations: 1.511 MB / 0.8804 GB, free: 16.42 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003122/1.015, allocations: 73.72 kB / 0.8805 GB, free: 16.42 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006561/1.022, allocations: 3.405 MB / 0.8838 GB, free: 16.39 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008542/1.023, allocations: 0.6058 MB / 0.8844 GB, free: 16.38 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001473/1.024, allocations: 0.9919 MB / 0.8854 GB, free: 16.35 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006069/1.03, allocations: 3.848 MB / 0.8891 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/1.03, allocations: 2.531 kB / 0.8891 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.773e-06/1.03, allocations: 0 / 0.8891 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.662e-05/1.03, allocations: 0 / 0.8891 GB, free: 15.98 MB / 0.6387 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.003252/1.033, allocations: 2.03 MB / 0.8911 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/1.033, allocations: 7.75 kB / 0.8911 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002107/1.034, allocations: 195 kB / 0.8913 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0041/1.038, allocations: 0.6525 MB / 0.8919 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/1.04, allocations: 1.334 MB / 0.8932 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/1.04, allocations: 105.4 kB / 0.8933 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/1.04, allocations: 144.6 kB / 0.8935 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/1.042, allocations: 1.567 MB / 0.895 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/1.042, allocations: 5.875 kB / 0.895 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/1.042, allocations: 53.84 kB / 0.8951 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/1.042, allocations: 45.92 kB / 0.8951 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/1.044, allocations: 1.276 MB / 0.8963 GB, free: 12.95 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.006462/1.05, allocations: 7.214 MB / 0.9034 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008337/1.051, allocations: 0.6498 MB / 0.904 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/1.052, allocations: 366.4 kB / 0.9044 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/1.052, allocations: 111.6 kB / 0.9045 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/1.052, allocations: 43.78 kB / 0.9045 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006658/1.053, allocations: 147 kB / 0.9047 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=67): time 2.635e-06/1.053, allocations: 0 / 0.9047 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67): time 0.00153/1.054, allocations: 1.013 MB / 0.9057 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/1.054, allocations: 62.7 kB / 0.9057 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/1.055, allocations: 1.343 MB / 0.907 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/1.056, allocations: 45.2 kB / 0.9071 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/1.056, allocations: 0.7686 MB / 0.9078 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/1.056, allocations: 248.2 kB / 0.9081 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.977e-05/1.056, allocations: 89.11 kB / 0.9081 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.78e-05/1.056, allocations: 347 kB / 0.9085 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/1.057, allocations: 342.7 kB / 0.9088 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/1.057, allocations: 0.681 MB / 0.9095 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/1.058, allocations: 0.951 MB / 0.9104 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.058, allocations: 0 / 0.9104 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001458/1.06, allocations: 1.147 MB / 0.9115 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.239e-05/1.06, allocations: 297.5 kB / 0.9118 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.06, allocations: 6.656 kB / 0.9118 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.06, allocations: 11.75 kB / 0.9118 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008083/1.061, allocations: 211.4 kB / 0.912 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/1.061, allocations: 13.53 kB / 0.912 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/1.062, allocations: 129.9 kB / 0.9122 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/1.062, allocations: 38.03 kB / 0.9122 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/1.062, allocations: 3.031 kB / 0.9122 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/1.064, allocations: 0.9807 MB / 0.9132 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.064, allocations: 10.7 kB / 0.9132 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/1.064, allocations: 12.38 kB / 0.9132 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007395/1.064, allocations: 210.5 kB / 0.9134 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/1.064, allocations: 17.62 kB / 0.9134 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/1.066, allocations: 131.5 kB / 0.9135 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/1.066, allocations: 43.98 kB / 0.9136 GB, free: 4.484 MB / 0.6387 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.0006438/1.066, allocations: 0.4886 MB / 0.914 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/1.067, allocations: 150.3 kB / 0.9142 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/1.068, allocations: 0.8218 MB / 0.915 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/1.068, allocations: 9.328 kB / 0.915 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.068, allocations: 3.984 kB / 0.915 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007653/1.069, allocations: 0.7852 MB / 0.9158 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/1.071, allocations: 2.289 MB / 0.918 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.071, allocations: 3.031 kB / 0.918 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/1.072, allocations: 170.4 kB / 0.9182 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/1.072, allocations: 3.312 kB / 0.9182 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/1.072, allocations: 21.81 kB / 0.9182 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/1.072, allocations: 3.062 kB / 0.9182 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.072, allocations: 14.45 kB / 0.9182 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/1.074, allocations: 1.309 MB / 0.9195 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/1.074, allocations: 325.8 kB / 0.9198 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/1.074, allocations: 16.88 kB / 0.9198 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/1.075, allocations: 96.48 kB / 0.9199 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/1.075, allocations: 43.88 kB / 0.9199 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.37e-05/1.075, allocations: 34.69 kB / 0.92 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009638/1.076, allocations: 0.9105 MB / 0.9209 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.076, allocations: 0 / 0.9209 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001697/1.078, allocations: 0.8476 MB / 0.9217 GB, free: 336 kB / 0.6387 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.002228/1.08, allocations: 2.011 MB / 0.9237 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001984/1.082, allocations: 1.328 MB / 0.925 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.082, allocations: 0 / 0.925 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004462/1.083, allocations: 345.1 kB / 0.9253 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00425/1.087, allocations: 0.8388 MB / 0.9261 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/1.104, allocations: 12.24 MB / 0.9381 GB, free: 15.15 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008633/1.105, allocations: 1.349 MB / 0.9394 GB, free: 13.77 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001696/1.107, allocations: 416.4 kB / 0.9398 GB, free: 13.36 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007745/1.107, allocations: 0.6164 MB / 0.9404 GB, free: 12.74 MB / 0.67 GB Notification: Performance of SimCode: time 8.12e-07/1.107, allocations: 4 kB / 0.9404 GB, free: 12.73 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5451/1.653, allocations: 40.21 MB / 0.9796 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/1.653, allocations: 238.6 kB / 0.9799 GB, free: 4.859 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/4.374, allocations: 0 / 0.9799 GB, free: 4.859 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)