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.006705/0.006705, allocations: 107.8 kB / 15.74 MB, free: 6.441 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.001346/0.001346, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7381/0.7381, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.47 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1862, allocations: 80.22 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7394/0.9256, allocations: 274.6 MB / 0.9274 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02338/0.9491, allocations: 17.37 MB / 0.9443 GB, free: 11.37 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003515/0.9526, allocations: 70.34 kB / 0.9444 GB, free: 11.37 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004339/0.957, allocations: 1.203 MB / 0.9456 GB, free: 10.73 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.9686, allocations: 3.219 MB / 0.9487 GB, free: 8.102 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007241/0.9759, allocations: 2.228 MB / 0.9509 GB, free: 5.883 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007779/0.9837, allocations: 4.833 MB / 0.9556 GB, free: 1.043 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002681/0.9864, allocations: 1.769 MB / 0.9573 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006223/0.9926, allocations: 2.497 MB / 0.9598 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002923/0.9956, allocations: 1.538 MB / 0.9613 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003356/0.9959, allocations: 192 kB / 0.9614 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006516/1.002, allocations: 3.024 MB / 0.9644 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009108/1.003, allocations: 0.7207 MB / 0.9651 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002223/1.006, allocations: 1.116 MB / 0.9662 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007213/1.013, allocations: 3.837 MB / 0.9699 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.013, allocations: 0 / 0.9699 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.345e-06/1.013, allocations: 0 / 0.9699 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001087/1.013, allocations: 0 / 0.9699 GB, free: 2.312 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.005639/1.019, allocations: 2.427 MB / 0.9723 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/1.019, allocations: 12.03 kB / 0.9723 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000354/1.019, allocations: 198.1 kB / 0.9725 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00439/1.023, allocations: 0.6417 MB / 0.9731 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/1.026, allocations: 1.4 MB / 0.9745 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.356e-05/1.026, allocations: 98.55 kB / 0.9746 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/1.026, allocations: 139.9 kB / 0.9747 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/1.029, allocations: 1.561 MB / 0.9763 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/1.029, allocations: 7.984 kB / 0.9763 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/1.029, allocations: 52 kB / 0.9763 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.134e-05/1.029, allocations: 50.44 kB / 0.9764 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/1.031, allocations: 1.266 MB / 0.9776 GB, free: 10.25 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.009593/1.041, allocations: 7.191 MB / 0.9846 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/1.042, allocations: 0.6452 MB / 0.9853 GB, free: 1.836 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005632/1.042, allocations: 367 kB / 0.9856 GB, free: 1.477 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/1.043, allocations: 105.7 kB / 0.9857 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/1.043, allocations: 55 kB / 0.9858 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000578/1.043, allocations: 99.09 kB / 0.9859 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=67): time 2.535e-06/1.043, allocations: 0 / 0.9859 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of matching and sorting (n=67): time 0.001825/1.045, allocations: 1.013 MB / 0.9868 GB, free: 184 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/1.045, allocations: 59.97 kB / 0.9869 GB, free: 108 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/1.047, allocations: 1.339 MB / 0.9882 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.812e-05/1.047, allocations: 45.7 kB / 0.9882 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006568/1.048, allocations: 0.7774 MB / 0.989 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/1.048, allocations: 236.6 kB / 0.9892 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/1.048, allocations: 206.4 kB / 0.9894 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.048, allocations: 341.9 kB / 0.9898 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005316/1.049, allocations: 356.6 kB / 0.9901 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/1.05, allocations: 0.6868 MB / 0.9908 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.051, allocations: 0.9449 MB / 0.9917 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.051, allocations: 4 kB / 0.9917 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001676/1.053, allocations: 1.148 MB / 0.9928 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.053, allocations: 8 kB / 0.9928 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.053, allocations: 8 kB / 0.9928 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/1.053, allocations: 12 kB / 0.9928 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008862/1.054, allocations: 211.7 kB / 0.993 GB, free: 9.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.739e-05/1.054, allocations: 19.92 kB / 0.9931 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/1.055, allocations: 52.38 kB / 0.9931 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.62e-05/1.055, allocations: 40 kB / 0.9931 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001013/1.056, allocations: 0.6854 MB / 0.9938 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000758/1.057, allocations: 0.6723 MB / 0.9945 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001196/1.058, allocations: 0.9449 MB / 0.9954 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/1.058, allocations: 0 / 0.9954 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001682/1.06, allocations: 1.144 MB / 0.9965 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.06, allocations: 11.94 kB / 0.9965 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/1.06, allocations: 8.875 kB / 0.9965 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/1.06, allocations: 15.94 kB / 0.9965 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007868/1.06, allocations: 215.7 kB / 0.9968 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/1.06, allocations: 19.92 kB / 0.9968 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.062, allocations: 51.91 kB / 0.9968 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-05/1.062, allocations: 40 kB / 0.9969 GB, free: 5.383 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.000252/1.062, allocations: 236 kB / 0.9971 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/1.062, allocations: 162 kB / 0.9972 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/1.063, allocations: 0.8124 MB / 0.998 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/1.064, allocations: 8 kB / 0.998 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.064, allocations: 0 / 0.998 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/1.065, allocations: 0.794 MB / 0.9988 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/1.068, allocations: 2.291 MB / 1.001 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.068, allocations: 4 kB / 1.001 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007938/1.069, allocations: 163.8 kB / 1.001 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/1.069, allocations: 8.188 kB / 1.001 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/1.069, allocations: 23.98 kB / 1.001 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/1.069, allocations: 7.938 kB / 1.001 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.069, allocations: 4 kB / 1.001 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/1.071, allocations: 1.308 MB / 1.003 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004912/1.071, allocations: 323 kB / 1.003 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/1.071, allocations: 20 kB / 1.003 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008058/1.072, allocations: 36.86 kB / 1.003 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/1.072, allocations: 56.44 kB / 1.003 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.177e-05/1.072, allocations: 27.98 kB / 1.003 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001209/1.074, allocations: 0.9122 MB / 1.004 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.673e-06/1.074, allocations: 0 / 1.004 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001954/1.076, allocations: 0.834 MB / 1.005 GB, free: 13.17 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.002579/1.078, allocations: 2.012 MB / 1.007 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002273/1.08, allocations: 1.327 MB / 1.008 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.08, allocations: 4.375 kB / 1.008 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000489/1.081, allocations: 350.9 kB / 1.008 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/1.084, allocations: 0.8408 MB / 1.009 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/1.101, allocations: 10.63 MB / 1.019 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/1.103, allocations: 1.348 MB / 1.021 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001495/1.104, allocations: 412.3 kB / 1.021 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008736/1.105, allocations: 0.6125 MB / 1.022 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of SimCode: time 7.51e-07/1.105, allocations: 0 / 1.022 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07775/1.183, allocations: 41.75 MB / 1.063 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/14.08, allocations: 8.219 kB / 1.063 GB, free: 2.066 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 & /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)