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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_dev_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.007502/0.007502, allocations: 97.23 kB / 15.73 MB, free: 6.484 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.002018/0.002018, allocations: 192.3 kB / 16.67 MB, free: 6.391 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.687/1.687, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9839/0.9839, allocations: 135.6 MB / 426.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.89 kB / 0.5858 GB, free: 3.203 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3682, allocations: 81.03 MB / 0.6649 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5954/0.9637, allocations: 274.6 MB / 0.933 GB, free: 16.57 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01791/0.9816, allocations: 17.34 MB / 0.95 GB, free: 16.17 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.9842, allocations: 70.34 kB / 0.95 GB, free: 16.17 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.9869, allocations: 1.168 MB / 0.9512 GB, free: 16.14 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006998/0.9939, allocations: 3.094 MB / 0.9542 GB, free: 16 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005008/0.999, allocations: 2.208 MB / 0.9564 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005522/1.004, allocations: 4.839 MB / 0.9611 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/1.007, allocations: 1.746 MB / 0.9628 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005069/1.012, allocations: 2.419 MB / 0.9652 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00273/1.014, allocations: 1.541 MB / 0.9667 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003311/1.015, allocations: 191.8 kB / 0.9668 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005302/1.02, allocations: 3.013 MB / 0.9698 GB, free: 13 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000652/1.021, allocations: 0.7182 MB / 0.9705 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/1.022, allocations: 1.119 MB / 0.9716 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005434/1.028, allocations: 3.844 MB / 0.9753 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.028, allocations: 0 / 0.9753 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.423e-06/1.028, allocations: 0 / 0.9753 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.465e-05/1.028, allocations: 0 / 0.9753 GB, free: 9.527 MB / 0.6856 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.003489/1.031, allocations: 2.493 MB / 0.9778 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/1.031, allocations: 10.75 kB / 0.9778 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001886/1.031, allocations: 198.4 kB / 0.978 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004257/1.036, allocations: 0.6479 MB / 0.9786 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/1.038, allocations: 1.408 MB / 0.98 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.794e-05/1.038, allocations: 105.9 kB / 0.9801 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/1.038, allocations: 139.6 kB / 0.9802 GB, free: 6.176 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/1.04, allocations: 1.564 MB / 0.9817 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/1.04, allocations: 3.938 kB / 0.9817 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/1.04, allocations: 63.94 kB / 0.9818 GB, free: 4.973 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/1.04, allocations: 50.44 kB / 0.9818 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/1.042, allocations: 1.267 MB / 0.9831 GB, free: 3.66 MB / 0.6856 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.008081/1.05, allocations: 7.204 MB / 0.9901 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/1.051, allocations: 0.6567 MB / 0.9908 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/1.052, allocations: 374 kB / 0.9911 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/1.052, allocations: 108.5 kB / 0.9912 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/1.052, allocations: 43.12 kB / 0.9913 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006203/1.053, allocations: 99.39 kB / 0.9914 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=67): time 3.336e-06/1.053, allocations: 2.531 kB / 0.9914 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of matching and sorting (n=67): time 0.002021/1.055, allocations: 1.017 MB / 0.9924 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/1.055, allocations: 59.97 kB / 0.9924 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/1.056, allocations: 1.345 MB / 0.9937 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.1e-05/1.057, allocations: 48.36 kB / 0.9938 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006906/1.057, allocations: 0.7858 MB / 0.9945 GB, free: 7.434 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/1.058, allocations: 255.3 kB / 0.9948 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/1.058, allocations: 202.5 kB / 0.995 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.058, allocations: 345.9 kB / 0.9953 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006048/1.059, allocations: 356.7 kB / 0.9956 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009012/1.06, allocations: 0.6763 MB / 0.9963 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/1.061, allocations: 0.9545 MB / 0.9972 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.061, allocations: 0 / 0.9972 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001999/1.063, allocations: 1.155 MB / 0.9984 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/1.063, allocations: 8 kB / 0.9984 GB, free: 3.328 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/1.063, allocations: 8 kB / 0.9984 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/1.063, allocations: 12 kB / 0.9984 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009418/1.064, allocations: 208.4 kB / 0.9986 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/1.064, allocations: 16.52 kB / 0.9986 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/1.065, allocations: 56.62 kB / 0.9987 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-05/1.065, allocations: 39.98 kB / 0.9987 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001169/1.067, allocations: 0.6857 MB / 0.9994 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008988/1.068, allocations: 0.6704 MB / 1 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001376/1.069, allocations: 0.946 MB / 1.001 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.074e-06/1.069, allocations: 7.938 kB / 1.001 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001928/1.071, allocations: 1.153 MB / 1.002 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.071, allocations: 8.906 kB / 1.002 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.071, allocations: 8 kB / 1.002 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/1.071, allocations: 16 kB / 1.002 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008695/1.072, allocations: 203.6 kB / 1.002 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/1.072, allocations: 15.09 kB / 1.002 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.073, allocations: 70.19 kB / 1.002 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.546e-05/1.073, allocations: 36 kB / 1.002 GB, free: 15.05 MB / 0.7169 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.0002926/1.074, allocations: 245.2 kB / 1.003 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/1.074, allocations: 159 kB / 1.003 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/1.075, allocations: 0.8237 MB / 1.004 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/1.075, allocations: 8 kB / 1.004 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.075, allocations: 0 / 1.004 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001096/1.077, allocations: 0.7858 MB / 1.004 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/1.08, allocations: 2.286 MB / 1.007 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.08, allocations: 3.984 kB / 1.007 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008828/1.081, allocations: 177.9 kB / 1.007 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/1.081, allocations: 4 kB / 1.007 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-05/1.081, allocations: 22.33 kB / 1.007 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/1.081, allocations: 4 kB / 1.007 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.081, allocations: 3.938 kB / 1.007 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/1.083, allocations: 1.315 MB / 1.008 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005856/1.084, allocations: 328.1 kB / 1.008 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/1.084, allocations: 12 kB / 1.008 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000904/1.085, allocations: 38.61 kB / 1.008 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/1.085, allocations: 55 kB / 1.009 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.158e-05/1.085, allocations: 35.98 kB / 1.009 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001403/1.086, allocations: 0.9044 MB / 1.009 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/1.086, allocations: 0 / 1.009 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001985/1.088, allocations: 0.8491 MB / 1.01 GB, free: 6.887 MB / 0.7169 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.002748/1.091, allocations: 2.022 MB / 1.012 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002264/1.093, allocations: 1.324 MB / 1.014 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.093, allocations: 4.25 kB / 1.014 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005357/1.094, allocations: 353 kB / 1.014 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003875/1.098, allocations: 0.8422 MB / 1.015 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/1.114, allocations: 10.68 MB / 1.025 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/1.115, allocations: 1.344 MB / 1.026 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001542/1.117, allocations: 412.3 kB / 1.027 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000895/1.118, allocations: 0.6164 MB / 1.027 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of SimCode: time 1.082e-06/1.118, allocations: 0 / 1.027 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2624/1.38, allocations: 41.75 MB / 1.068 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.68, allocations: 5.75 kB / 1.068 GB, free: 11.84 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)