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.001092/0.001092, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001303/0.001303, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.286/1.286, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7258/0.7258, allocations: 132.2 MB / 422.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.88 kB / 0.5014 GB, free: 8.945 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.141, allocations: 80.2 MB / 0.5797 GB, free: 8.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.4991/0.6401, allocations: 271.4 MB / 0.8447 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.6594, allocations: 17.22 MB / 0.8615 GB, free: 2.164 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.6614, allocations: 59.62 kB / 0.8616 GB, free: 2.105 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002573/0.664, allocations: 1.034 MB / 0.8626 GB, free: 1.066 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.2993/0.9633, allocations: 2.899 MB / 0.8654 GB, free: 28.56 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004279/0.9676, allocations: 2.049 MB / 0.8674 GB, free: 28.56 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004684/0.9723, allocations: 4.812 MB / 0.8721 GB, free: 28.56 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.9742, allocations: 1.725 MB / 0.8738 GB, free: 28.39 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004959/0.9792, allocations: 2.407 MB / 0.8761 GB, free: 28.37 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.982, allocations: 1.628 MB / 0.8777 GB, free: 28.37 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003429/0.9824, allocations: 192.7 kB / 0.8779 GB, free: 28.37 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004979/0.9874, allocations: 3.145 MB / 0.881 GB, free: 28.34 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007084/0.9881, allocations: 0.7216 MB / 0.8817 GB, free: 28.34 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.9894, allocations: 1.12 MB / 0.8828 GB, free: 28.34 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005423/0.9948, allocations: 4.003 MB / 0.8867 GB, free: 28.14 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9948, allocations: 0 / 0.8867 GB, free: 28.14 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9949, allocations: 0.9062 kB / 0.8867 GB, free: 28.14 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.558e-05/0.9949, allocations: 1.094 kB / 0.8867 GB, free: 28.14 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.004343/0.9993, allocations: 2.434 MB / 0.8891 GB, free: 26.95 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.9993, allocations: 9.531 kB / 0.8891 GB, free: 26.95 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002406/0.9996, allocations: 194 kB / 0.8893 GB, free: 26.91 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004692/1.004, allocations: 0.6401 MB / 0.8899 GB, free: 26.81 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/1.007, allocations: 1.334 MB / 0.8912 GB, free: 26.39 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-05/1.007, allocations: 100.3 kB / 0.8913 GB, free: 26.38 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/1.007, allocations: 143.5 kB / 0.8914 GB, free: 26.38 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/1.009, allocations: 1.57 MB / 0.893 GB, free: 26.19 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/1.009, allocations: 6.656 kB / 0.893 GB, free: 26.19 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/1.01, allocations: 54.81 kB / 0.893 GB, free: 26.19 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.728e-05/1.01, allocations: 46.86 kB / 0.8931 GB, free: 26.18 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/1.012, allocations: 1.267 MB / 0.8943 GB, free: 26.17 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.008183/1.02, allocations: 7.203 MB / 0.9013 GB, free: 22.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/1.022, allocations: 0.6496 MB / 0.902 GB, free: 22.28 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008234/1.023, allocations: 365.9 kB / 0.9023 GB, free: 22.27 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/1.023, allocations: 110.7 kB / 0.9024 GB, free: 22.18 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/1.023, allocations: 44.66 kB / 0.9025 GB, free: 22.14 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001174/1.024, allocations: 131 kB / 0.9026 GB, free: 22.09 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 5.05e-06/1.024, allocations: 3.469 kB / 0.9026 GB, free: 22.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.002368/1.027, allocations: 1.017 MB / 0.9036 GB, free: 21.96 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/1.027, allocations: 62.28 kB / 0.9036 GB, free: 21.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/1.028, allocations: 1.336 MB / 0.9049 GB, free: 21.73 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/1.029, allocations: 45.67 kB / 0.905 GB, free: 21.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006428/1.029, allocations: 0.7729 MB / 0.9057 GB, free: 21.41 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/1.029, allocations: 246.1 kB / 0.906 GB, free: 21.25 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004393/1.03, allocations: 195.8 kB / 0.9062 GB, free: 21.23 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.254e-05/1.03, allocations: 344.4 kB / 0.9065 GB, free: 20.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008271/1.031, allocations: 360.7 kB / 0.9068 GB, free: 20.92 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009034/1.032, allocations: 0.6787 MB / 0.9075 GB, free: 20.56 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/1.034, allocations: 0.9499 MB / 0.9084 GB, free: 20.31 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/1.034, allocations: 2.844 kB / 0.9084 GB, free: 20.31 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00255/1.036, allocations: 1.145 MB / 0.9095 GB, free: 20.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.036, allocations: 8.156 kB / 0.9096 GB, free: 20.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/1.036, allocations: 7.844 kB / 0.9096 GB, free: 20.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/1.036, allocations: 15.31 kB / 0.9096 GB, free: 20.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/1.038, allocations: 210.5 kB / 0.9098 GB, free: 20.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.519e-05/1.038, allocations: 17.48 kB / 0.9098 GB, free: 20.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/1.04, allocations: 132.8 kB / 0.9099 GB, free: 20.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.04, allocations: 43.95 kB / 0.91 GB, free: 20.18 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001524/1.042, allocations: 0.6827 MB / 0.9106 GB, free: 20.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009749/1.043, allocations: 0.6776 MB / 0.9113 GB, free: 19.73 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001829/1.045, allocations: 0.9445 MB / 0.9122 GB, free: 19.49 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.928e-06/1.045, allocations: 3.172 kB / 0.9122 GB, free: 19.49 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001962/1.047, allocations: 1.145 MB / 0.9133 GB, free: 19.38 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.047, allocations: 7.438 kB / 0.9133 GB, free: 19.38 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.047, allocations: 7.656 kB / 0.9133 GB, free: 19.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/1.047, allocations: 11.75 kB / 0.9134 GB, free: 19.38 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008172/1.048, allocations: 210.3 kB / 0.9136 GB, free: 19.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/1.048, allocations: 18.12 kB / 0.9136 GB, free: 19.38 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/1.049, allocations: 132.4 kB / 0.9137 GB, free: 19.37 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/1.049, allocations: 39.53 kB / 0.9137 GB, free: 19.37 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.0002388/1.05, allocations: 238.5 kB / 0.914 GB, free: 19.19 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/1.05, allocations: 162.8 kB / 0.9141 GB, free: 19.11 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/1.051, allocations: 0.8182 MB / 0.9149 GB, free: 19.05 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.051, allocations: 10.91 kB / 0.9149 GB, free: 19.05 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.051, allocations: 3.844 kB / 0.9149 GB, free: 19.05 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007883/1.052, allocations: 0.7863 MB / 0.9157 GB, free: 18.79 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/1.055, allocations: 2.3 MB / 0.918 GB, free: 18.42 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.055, allocations: 0 / 0.918 GB, free: 18.42 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000787/1.056, allocations: 171.5 kB / 0.9181 GB, free: 18.42 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/1.056, allocations: 3 kB / 0.9181 GB, free: 18.42 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/1.056, allocations: 20.28 kB / 0.9181 GB, free: 18.42 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/1.056, allocations: 5.969 kB / 0.9181 GB, free: 18.42 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.056, allocations: 3.781 kB / 0.9181 GB, free: 18.42 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/1.057, allocations: 1.318 MB / 0.9194 GB, free: 18.14 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005207/1.058, allocations: 316.2 kB / 0.9197 GB, free: 17.97 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/1.058, allocations: 17.12 kB / 0.9198 GB, free: 17.97 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/1.059, allocations: 93.19 kB / 0.9198 GB, free: 17.96 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/1.059, allocations: 46.64 kB / 0.9199 GB, free: 17.96 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-05/1.059, allocations: 30.38 kB / 0.9199 GB, free: 17.96 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000974/1.06, allocations: 0.9138 MB / 0.9208 GB, free: 17.85 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/1.06, allocations: 0 / 0.9208 GB, free: 17.85 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001838/1.062, allocations: 0.8386 MB / 0.9216 GB, free: 17.75 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.001944/1.064, allocations: 2.009 MB / 0.9236 GB, free: 16.93 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002107/1.066, allocations: 1.444 MB / 0.925 GB, free: 16.91 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/1.066, allocations: 3.406 kB / 0.925 GB, free: 16.91 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003966/1.067, allocations: 343 kB / 0.9253 GB, free: 16.91 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003235/1.07, allocations: 0.8504 MB / 0.9262 GB, free: 16.83 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/1.084, allocations: 12.11 MB / 0.938 GB, free: 11.76 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/1.085, allocations: 1.346 MB / 0.9393 GB, free: 11.02 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001709/1.087, allocations: 415 kB / 0.9397 GB, free: 10.93 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006435/1.087, allocations: 0.6101 MB / 0.9403 GB, free: 10.92 MB / 0.67 GB Notification: Performance of SimCode: time 5.91e-07/1.087, allocations: 0 / 0.9403 GB, free: 10.92 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07506/1.162, allocations: 41.2 MB / 0.9805 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/1.162, allocations: 242.3 kB / 0.9808 GB, free: 6.215 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.631/3.793, allocations: 0 / 0.9808 GB, free: 6.215 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)