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.001149/0.001149, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 194.2 kB / 16.53 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9514/0.9514, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 61.53 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1314, allocations: 80.92 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.4805/0.6119, allocations: 274.6 MB / 0.8526 GB, free: 9.969 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.3312/0.9431, allocations: 17.32 MB / 0.8695 GB, free: 28.11 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.9453, allocations: 70.59 kB / 0.8696 GB, free: 28.11 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.9478, allocations: 1.17 MB / 0.8707 GB, free: 28.11 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006411/0.9542, allocations: 3.09 MB / 0.8738 GB, free: 28.09 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004699/0.9589, allocations: 2.186 MB / 0.8759 GB, free: 28.03 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005593/0.9645, allocations: 4.819 MB / 0.8806 GB, free: 28.03 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002342/0.9669, allocations: 1.763 MB / 0.8823 GB, free: 27.85 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005413/0.9723, allocations: 2.4 MB / 0.8847 GB, free: 27.83 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/0.9753, allocations: 1.543 MB / 0.8862 GB, free: 27.82 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004769/0.9758, allocations: 191.7 kB / 0.8864 GB, free: 27.82 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006307/0.9821, allocations: 3.01 MB / 0.8893 GB, free: 27.79 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.9833, allocations: 0.7219 MB / 0.89 GB, free: 27.79 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002031/0.9853, allocations: 1.124 MB / 0.8911 GB, free: 27.79 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007251/0.9926, allocations: 3.801 MB / 0.8948 GB, free: 27.5 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.9926, allocations: 0 / 0.8948 GB, free: 27.5 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9926, allocations: 2.25 kB / 0.8948 GB, free: 27.5 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.031e-05/0.9927, allocations: 0.7031 kB / 0.8948 GB, free: 27.5 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.004999/0.9977, allocations: 2.431 MB / 0.8972 GB, free: 26.3 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.9977, allocations: 16.91 kB / 0.8972 GB, free: 26.3 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002512/0.998, allocations: 191.5 kB / 0.8974 GB, free: 26.25 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00464/1.003, allocations: 0.6405 MB / 0.898 GB, free: 26.15 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/1.005, allocations: 1.329 MB / 0.8993 GB, free: 25.73 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.04e-05/1.005, allocations: 104 kB / 0.8994 GB, free: 25.73 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/1.005, allocations: 134.9 kB / 0.8995 GB, free: 25.73 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/1.008, allocations: 1.571 MB / 0.9011 GB, free: 25.54 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/1.008, allocations: 4.719 kB / 0.9011 GB, free: 25.54 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/1.008, allocations: 60.81 kB / 0.9011 GB, free: 25.54 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/1.008, allocations: 47.02 kB / 0.9012 GB, free: 25.53 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/1.011, allocations: 1.262 MB / 0.9024 GB, free: 25.52 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.008709/1.019, allocations: 7.251 MB / 0.9095 GB, free: 21.65 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009733/1.02, allocations: 0.6517 MB / 0.9101 GB, free: 21.62 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/1.021, allocations: 371.2 kB / 0.9105 GB, free: 21.61 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/1.021, allocations: 112.6 kB / 0.9106 GB, free: 21.51 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/1.021, allocations: 46.92 kB / 0.9106 GB, free: 21.47 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008033/1.022, allocations: 105.1 kB / 0.9107 GB, free: 21.43 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 3.647e-06/1.022, allocations: 0 / 0.9107 GB, free: 21.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.001872/1.024, allocations: 1.017 MB / 0.9117 GB, free: 21.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/1.024, allocations: 59 kB / 0.9118 GB, free: 21.24 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/1.025, allocations: 1.337 MB / 0.9131 GB, free: 21.07 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.651e-05/1.025, allocations: 47.78 kB / 0.9131 GB, free: 21.04 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004428/1.026, allocations: 0.7719 MB / 0.9139 GB, free: 20.74 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/1.026, allocations: 246 kB / 0.9141 GB, free: 20.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/1.026, allocations: 203.4 kB / 0.9143 GB, free: 20.56 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.172e-05/1.026, allocations: 347.3 kB / 0.9147 GB, free: 20.26 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/1.027, allocations: 352.2 kB / 0.915 GB, free: 20.25 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006811/1.028, allocations: 0.6757 MB / 0.9156 GB, free: 19.89 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/1.029, allocations: 0.9533 MB / 0.9166 GB, free: 19.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.029, allocations: 1.844 kB / 0.9166 GB, free: 19.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001736/1.031, allocations: 1.15 MB / 0.9177 GB, free: 19.53 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.031, allocations: 8.688 kB / 0.9177 GB, free: 19.53 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.031, allocations: 9.094 kB / 0.9177 GB, free: 19.53 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/1.031, allocations: 11.34 kB / 0.9177 GB, free: 19.53 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008815/1.031, allocations: 209.3 kB / 0.9179 GB, free: 19.53 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/1.032, allocations: 18.91 kB / 0.918 GB, free: 19.53 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/1.033, allocations: 51.31 kB / 0.918 GB, free: 19.53 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-05/1.033, allocations: 43.72 kB / 0.918 GB, free: 19.53 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001182/1.034, allocations: 0.6847 MB / 0.9187 GB, free: 19.45 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007237/1.035, allocations: 0.6735 MB / 0.9194 GB, free: 19.08 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001045/1.036, allocations: 0.949 MB / 0.9203 GB, free: 18.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/1.036, allocations: 2.594 kB / 0.9203 GB, free: 18.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001625/1.038, allocations: 1.147 MB / 0.9214 GB, free: 18.72 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.038, allocations: 7.969 kB / 0.9214 GB, free: 18.72 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.038, allocations: 10.42 kB / 0.9214 GB, free: 18.72 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/1.038, allocations: 11.84 kB / 0.9214 GB, free: 18.72 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008253/1.039, allocations: 207.4 kB / 0.9216 GB, free: 18.72 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/1.039, allocations: 17.62 kB / 0.9217 GB, free: 18.72 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/1.04, allocations: 60.55 kB / 0.9217 GB, free: 18.72 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.172e-05/1.04, allocations: 42.2 kB / 0.9218 GB, free: 18.72 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.0002965/1.041, allocations: 246.5 kB / 0.922 GB, free: 18.53 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/1.041, allocations: 148 kB / 0.9221 GB, free: 18.46 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/1.042, allocations: 0.8212 MB / 0.9229 GB, free: 18.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/1.042, allocations: 9 kB / 0.9229 GB, free: 18.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.042, allocations: 0 / 0.9229 GB, free: 18.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008707/1.043, allocations: 0.7812 MB / 0.9237 GB, free: 18.15 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/1.046, allocations: 2.295 MB / 0.9259 GB, free: 17.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.046, allocations: 4.156 kB / 0.926 GB, free: 17.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007878/1.047, allocations: 168 kB / 0.9261 GB, free: 17.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/1.047, allocations: 3 kB / 0.9261 GB, free: 17.77 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/1.047, allocations: 21.89 kB / 0.9261 GB, free: 17.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/1.047, allocations: 10.97 kB / 0.9261 GB, free: 17.77 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.047, allocations: 2.875 kB / 0.9262 GB, free: 17.77 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/1.049, allocations: 1.315 MB / 0.9274 GB, free: 17.49 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/1.049, allocations: 315.9 kB / 0.9277 GB, free: 17.32 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/1.049, allocations: 16.88 kB / 0.9278 GB, free: 17.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009067/1.05, allocations: 34.16 kB / 0.9278 GB, free: 17.32 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/1.05, allocations: 46.28 kB / 0.9278 GB, free: 17.32 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.854e-05/1.05, allocations: 33.58 kB / 0.9279 GB, free: 17.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00103/1.052, allocations: 0.9051 MB / 0.9287 GB, free: 17.21 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.71e-07/1.052, allocations: 0.5625 kB / 0.9287 GB, free: 17.21 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001863/1.053, allocations: 0.8451 MB / 0.9296 GB, free: 17.11 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.002006/1.055, allocations: 2.01 MB / 0.9315 GB, free: 16.29 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002235/1.058, allocations: 1.439 MB / 0.9329 GB, free: 16.26 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.058, allocations: 3.844 kB / 0.9329 GB, free: 16.26 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004043/1.058, allocations: 350.8 kB / 0.9333 GB, free: 16.26 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/1.062, allocations: 0.8497 MB / 0.9341 GB, free: 16.16 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/1.075, allocations: 11.56 MB / 0.9454 GB, free: 11.53 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/1.076, allocations: 1.347 MB / 0.9467 GB, free: 10.33 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001683/1.077, allocations: 416.3 kB / 0.9471 GB, free: 9.922 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006471/1.078, allocations: 0.6164 MB / 0.9477 GB, free: 9.566 MB / 0.67 GB Notification: Performance of SimCode: time 4.91e-07/1.078, allocations: 0 / 0.9477 GB, free: 9.566 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8642/1.942, allocations: 41.4 MB / 0.9881 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.726/11.67, allocations: 3.938 kB / 0.9881 GB, free: 0.7266 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)