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.007838/0.007838, allocations: 97.27 kB / 15.73 MB, free: 6.047 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.002118/0.002118, allocations: 196.2 kB / 16.68 MB, free: 5.973 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.545/1.545, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8113/0.8113, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 64.45 kB / 0.5809 GB, free: 1.094 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1783, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7202/0.8985, allocations: 274.6 MB / 0.9274 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02655/0.9251, allocations: 17.35 MB / 0.9443 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003667/0.9288, allocations: 67.47 kB / 0.9444 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004317/0.9332, allocations: 1.164 MB / 0.9455 GB, free: 10.7 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.9435, allocations: 3.105 MB / 0.9485 GB, free: 8.203 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006599/0.9501, allocations: 2.209 MB / 0.9507 GB, free: 6.004 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008462/0.9586, allocations: 4.823 MB / 0.9554 GB, free: 1.172 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003195/0.9619, allocations: 1.757 MB / 0.9571 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006957/0.9688, allocations: 2.411 MB / 0.9595 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003722/0.9726, allocations: 1.536 MB / 0.961 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007037/0.9733, allocations: 192 kB / 0.9612 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008266/0.9816, allocations: 3.02 MB / 0.9641 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00156/0.9832, allocations: 0.7129 MB / 0.9648 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002201/0.9854, allocations: 1.116 MB / 0.9659 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009652/0.9951, allocations: 3.843 MB / 0.9696 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.9951, allocations: 4 kB / 0.9697 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.235e-06/0.9951, allocations: 0 / 0.9697 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.43e-05/0.9952, allocations: 0 / 0.9697 GB, free: 2.543 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.005308/1.001, allocations: 2.494 MB / 0.9721 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/1.001, allocations: 8.031 kB / 0.9721 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000291/1.001, allocations: 198.1 kB / 0.9723 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004482/1.005, allocations: 0.6466 MB / 0.9729 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/1.008, allocations: 1.417 MB / 0.9743 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.395e-05/1.008, allocations: 102.5 kB / 0.9744 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/1.009, allocations: 140 kB / 0.9745 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/1.011, allocations: 1.557 MB / 0.9761 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/1.012, allocations: 0 / 0.9761 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/1.012, allocations: 67.98 kB / 0.9761 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/1.012, allocations: 42.45 kB / 0.9762 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/1.014, allocations: 1.263 MB / 0.9774 GB, free: 10.4 MB / 0.7012 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.01061/1.025, allocations: 7.208 MB / 0.9844 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/1.026, allocations: 0.6708 MB / 0.9851 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005782/1.027, allocations: 363 kB / 0.9854 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002149/1.027, allocations: 109.7 kB / 0.9855 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/1.027, allocations: 47.05 kB / 0.9856 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006376/1.027, allocations: 111.3 kB / 0.9857 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=67): time 2.524e-06/1.028, allocations: 0 / 0.9857 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of matching and sorting (n=67): time 0.002094/1.03, allocations: 1.013 MB / 0.9867 GB, free: 300 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/1.03, allocations: 63.91 kB / 0.9867 GB, free: 220 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/1.032, allocations: 1.339 MB / 0.988 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.596e-05/1.032, allocations: 45.7 kB / 0.9881 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007228/1.032, allocations: 0.7869 MB / 0.9889 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/1.033, allocations: 253.9 kB / 0.9891 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003374/1.033, allocations: 198.5 kB / 0.9893 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.033, allocations: 345.9 kB / 0.9896 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005989/1.034, allocations: 352.7 kB / 0.99 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009387/1.035, allocations: 0.679 MB / 0.9906 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/1.036, allocations: 0.9489 MB / 0.9915 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/1.036, allocations: 4 kB / 0.9915 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00204/1.038, allocations: 1.164 MB / 0.9927 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.038, allocations: 8 kB / 0.9927 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.038, allocations: 8.875 kB / 0.9927 GB, free: 9.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/1.038, allocations: 8 kB / 0.9927 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009128/1.039, allocations: 211.7 kB / 0.9929 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/1.039, allocations: 19.92 kB / 0.9929 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.041, allocations: 49.66 kB / 0.993 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/1.041, allocations: 40 kB / 0.993 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001214/1.042, allocations: 0.6854 MB / 0.9937 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009369/1.043, allocations: 0.6723 MB / 0.9943 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001406/1.044, allocations: 0.9488 MB / 0.9953 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.782e-06/1.044, allocations: 4 kB / 0.9953 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002016/1.046, allocations: 1.157 MB / 0.9964 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.046, allocations: 11.94 kB / 0.9964 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/1.046, allocations: 8.328 kB / 0.9964 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/1.046, allocations: 8 kB / 0.9964 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008788/1.047, allocations: 203.7 kB / 0.9966 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.027e-05/1.047, allocations: 23.86 kB / 0.9966 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.049, allocations: 57.78 kB / 0.9967 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/1.049, allocations: 40 kB / 0.9967 GB, free: 5.465 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.0003173/1.049, allocations: 252 kB / 0.997 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/1.049, allocations: 159 kB / 0.9971 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/1.051, allocations: 0.8101 MB / 0.9979 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.051, allocations: 7.938 kB / 0.9979 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.051, allocations: 4 kB / 0.9979 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/1.052, allocations: 0.7862 MB / 0.9987 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/1.056, allocations: 2.298 MB / 1.001 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.056, allocations: 4.188 kB / 1.001 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008855/1.057, allocations: 171.8 kB / 1.001 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/1.057, allocations: 4 kB / 1.001 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/1.057, allocations: 15.98 kB / 1.001 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/1.057, allocations: 4 kB / 1.001 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.057, allocations: 4 kB / 1.001 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/1.059, allocations: 1.321 MB / 1.002 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005894/1.06, allocations: 332 kB / 1.003 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/1.06, allocations: 12 kB / 1.003 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000871/1.061, allocations: 43.92 kB / 1.003 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/1.061, allocations: 44.44 kB / 1.003 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.464e-05/1.061, allocations: 36.11 kB / 1.003 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001362/1.062, allocations: 0.9083 MB / 1.004 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.062, allocations: 0 / 1.004 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001973/1.064, allocations: 0.8384 MB / 1.005 GB, free: 13.23 MB / 0.7325 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.002801/1.067, allocations: 2.028 MB / 1.007 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002405/1.069, allocations: 1.33 MB / 1.008 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.069, allocations: 0 / 1.008 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005358/1.07, allocations: 347 kB / 1.008 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003997/1.074, allocations: 0.8314 MB / 1.009 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/1.091, allocations: 10.69 MB / 1.019 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.092, allocations: 1.344 MB / 1.021 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001747/1.094, allocations: 416.3 kB / 1.021 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009827/1.095, allocations: 0.6125 MB / 1.022 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of SimCode: time 6.31e-07/1.095, allocations: 0 / 1.022 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09222/1.187, allocations: 41.75 MB / 1.063 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/15.61, allocations: 9.938 kB / 1.063 GB, free: 2.074 MB / 0.7794 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)