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.001624/0.001624, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002079/0.002079, allocations: 193.4 kB / 16.25 MB, free: 6.637 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.882/1.882, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9483/0.9483, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 69.34 kB / 0.505 GB, free: 5.562 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1684, allocations: 80.93 MB / 0.584 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.471/0.6395, allocations: 271.3 MB / 0.849 GB, free: 13.5 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.3086/0.9481, allocations: 17.2 MB / 0.8658 GB, free: 27.37 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.9499, allocations: 62.34 kB / 0.8658 GB, free: 27.37 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.952, allocations: 1.043 MB / 0.8669 GB, free: 27.37 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005006/0.957, allocations: 2.906 MB / 0.8697 GB, free: 27.33 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003775/0.9608, allocations: 2.044 MB / 0.8717 GB, free: 27.27 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003891/0.9647, allocations: 4.818 MB / 0.8764 GB, free: 27.27 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.9663, allocations: 1.722 MB / 0.8781 GB, free: 27.1 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004148/0.9704, allocations: 2.41 MB / 0.8804 GB, free: 27.07 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.9726, allocations: 1.629 MB / 0.882 GB, free: 27.07 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.9728, allocations: 194.3 kB / 0.8822 GB, free: 27.07 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00416/0.977, allocations: 3.141 MB / 0.8853 GB, free: 27.04 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006218/0.9776, allocations: 0.7234 MB / 0.886 GB, free: 27.04 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.9787, allocations: 1.121 MB / 0.8871 GB, free: 27.04 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004412/0.9832, allocations: 4.006 MB / 0.891 GB, free: 26.8 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.9832, allocations: 0 / 0.891 GB, free: 26.8 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9832, allocations: 1.75 kB / 0.891 GB, free: 26.8 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.631e-05/0.9832, allocations: 0 / 0.891 GB, free: 26.8 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.003683/0.9869, allocations: 2.432 MB / 0.8934 GB, free: 25.6 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.987, allocations: 10.62 kB / 0.8934 GB, free: 25.6 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002291/0.9872, allocations: 197.7 kB / 0.8936 GB, free: 25.55 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004359/0.9916, allocations: 0.6372 MB / 0.8942 GB, free: 25.45 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.9935, allocations: 1.332 MB / 0.8955 GB, free: 25.03 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-05/0.9936, allocations: 101.7 kB / 0.8956 GB, free: 25.03 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/0.9938, allocations: 135.7 kB / 0.8957 GB, free: 25.03 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.9962, allocations: 1.578 MB / 0.8973 GB, free: 24.83 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.9963, allocations: 4.25 kB / 0.8973 GB, free: 24.83 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.9964, allocations: 59.28 kB / 0.8973 GB, free: 24.83 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/0.9965, allocations: 46.58 kB / 0.8974 GB, free: 24.83 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.9984, allocations: 1.266 MB / 0.8986 GB, free: 24.81 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.007106/1.005, allocations: 7.202 MB / 0.9056 GB, free: 20.95 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/1.006, allocations: 0.6545 MB / 0.9063 GB, free: 20.91 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004355/1.007, allocations: 369.7 kB / 0.9066 GB, free: 20.91 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/1.007, allocations: 106 kB / 0.9067 GB, free: 20.81 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/1.007, allocations: 47.78 kB / 0.9068 GB, free: 20.77 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006796/1.008, allocations: 132.3 kB / 0.9069 GB, free: 20.72 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 1.983e-06/1.008, allocations: 1 kB / 0.9069 GB, free: 20.72 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.001569/1.009, allocations: 1.013 MB / 0.9079 GB, free: 20.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/1.009, allocations: 57.72 kB / 0.9079 GB, free: 20.54 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/1.011, allocations: 1.334 MB / 0.9092 GB, free: 20.38 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/1.011, allocations: 44.86 kB / 0.9093 GB, free: 20.34 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/1.011, allocations: 0.7793 MB / 0.91 GB, free: 20.04 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/1.011, allocations: 237.9 kB / 0.9103 GB, free: 19.89 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/1.012, allocations: 206.1 kB / 0.9105 GB, free: 19.87 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.963e-05/1.012, allocations: 344.2 kB / 0.9108 GB, free: 19.56 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/1.012, allocations: 355.5 kB / 0.9111 GB, free: 19.55 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005817/1.013, allocations: 0.6781 MB / 0.9118 GB, free: 19.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009577/1.014, allocations: 0.9502 MB / 0.9127 GB, free: 18.95 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.014, allocations: 3.656 kB / 0.9127 GB, free: 18.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001492/1.015, allocations: 1.145 MB / 0.9138 GB, free: 18.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.015, allocations: 14.12 kB / 0.9139 GB, free: 18.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.015, allocations: 6.906 kB / 0.9139 GB, free: 18.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.015, allocations: 11.53 kB / 0.9139 GB, free: 18.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/1.016, allocations: 206.2 kB / 0.9141 GB, free: 18.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/1.016, allocations: 18.84 kB / 0.9141 GB, free: 18.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/1.017, allocations: 129.7 kB / 0.9142 GB, free: 18.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/1.017, allocations: 43.81 kB / 0.9143 GB, free: 18.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007828/1.018, allocations: 0.6873 MB / 0.9149 GB, free: 18.73 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005877/1.019, allocations: 0.6765 MB / 0.9156 GB, free: 18.37 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009433/1.02, allocations: 0.9441 MB / 0.9165 GB, free: 18.13 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.807e-06/1.02, allocations: 1.5 kB / 0.9165 GB, free: 18.13 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001357/1.021, allocations: 1.146 MB / 0.9176 GB, free: 18.02 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/1.021, allocations: 13.75 kB / 0.9176 GB, free: 18.01 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.021, allocations: 6.438 kB / 0.9177 GB, free: 18.01 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/1.021, allocations: 11.62 kB / 0.9177 GB, free: 18.01 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/1.022, allocations: 210.7 kB / 0.9179 GB, free: 18.01 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.022, allocations: 19.34 kB / 0.9179 GB, free: 18.01 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/1.023, allocations: 128 kB / 0.918 GB, free: 18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/1.023, allocations: 45.23 kB / 0.918 GB, free: 18 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.0001705/1.023, allocations: 238.9 kB / 0.9183 GB, free: 17.82 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/1.024, allocations: 157.1 kB / 0.9184 GB, free: 17.73 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/1.025, allocations: 0.8166 MB / 0.9192 GB, free: 17.68 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/1.025, allocations: 7.906 kB / 0.9192 GB, free: 17.68 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.025, allocations: 0 / 0.9192 GB, free: 17.68 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007184/1.025, allocations: 0.7849 MB / 0.92 GB, free: 17.43 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/1.028, allocations: 2.296 MB / 0.9222 GB, free: 17.05 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.028, allocations: 0 / 0.9222 GB, free: 17.05 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007235/1.029, allocations: 177.6 kB / 0.9224 GB, free: 17.05 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.029, allocations: 2.5 kB / 0.9224 GB, free: 17.05 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/1.029, allocations: 20.56 kB / 0.9224 GB, free: 17.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.029, allocations: 2.844 kB / 0.9224 GB, free: 17.05 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.029, allocations: 7.031 kB / 0.9224 GB, free: 17.05 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/1.03, allocations: 1.313 MB / 0.9237 GB, free: 16.77 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/1.031, allocations: 316.9 kB / 0.924 GB, free: 16.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/1.031, allocations: 17.17 kB / 0.924 GB, free: 16.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009629/1.032, allocations: 99.52 kB / 0.9241 GB, free: 16.59 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.756e-05/1.032, allocations: 42.5 kB / 0.9242 GB, free: 16.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/1.032, allocations: 34.77 kB / 0.9242 GB, free: 16.59 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008557/1.033, allocations: 0.9048 MB / 0.9251 GB, free: 16.48 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/1.033, allocations: 3.625 kB / 0.9251 GB, free: 16.48 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001621/1.034, allocations: 0.8441 MB / 0.9259 GB, free: 16.38 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.002109/1.036, allocations: 2.021 MB / 0.9279 GB, free: 15.56 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002133/1.039, allocations: 1.44 MB / 0.9293 GB, free: 15.54 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.039, allocations: 0 / 0.9293 GB, free: 15.54 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000566/1.039, allocations: 351.1 kB / 0.9296 GB, free: 15.53 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005975/1.045, allocations: 0.8386 MB / 0.9305 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03483/1.08, allocations: 12.11 MB / 0.9423 GB, free: 10.34 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/1.082, allocations: 1.348 MB / 0.9436 GB, free: 9.605 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004752/1.087, allocations: 413.3 kB / 0.944 GB, free: 9.508 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001963/1.089, allocations: 0.6164 MB / 0.9446 GB, free: 9.5 MB / 0.67 GB Notification: Performance of SimCode: time 2.414e-06/1.089, allocations: 0 / 0.9446 GB, free: 9.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/1.209, allocations: 41.2 MB / 0.9848 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/1.209, allocations: 243.3 kB / 0.9851 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.537/5.746, allocations: 3.938 kB / 0.9851 GB, free: 1.727 MB / 0.7012 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)