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.001268/0.001269, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001411/0.001411, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.158/2.158, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.237/1.237, allocations: 132.2 MB / 423.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007276/0.0007278, allocations: 12.75 kB / 0.5033 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7915/0.7923, allocations: 81.56 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.4527/1.245, allocations: 223.7 MB / 0.8014 GB, free: 340 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02824/1.273, allocations: 15.85 MB / 0.8169 GB, free: 468 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003241/1.277, allocations: 51.62 kB / 0.8169 GB, free: 416 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.6537/1.931, allocations: 0.9923 MB / 0.8179 GB, free: 31.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02041/1.951, allocations: 3.011 MB / 0.8209 GB, free: 31.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01109/1.962, allocations: 1.762 MB / 0.8226 GB, free: 31.06 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01134/1.973, allocations: 2.717 MB / 0.8252 GB, free: 31.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004615/1.978, allocations: 1.33 MB / 0.8265 GB, free: 30.89 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008399/1.987, allocations: 1.585 MB / 0.8281 GB, free: 30.89 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004299/1.991, allocations: 0.9423 MB / 0.829 GB, free: 30.88 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007259/1.992, allocations: 77 kB / 0.8291 GB, free: 30.88 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00887/2.001, allocations: 1.322 MB / 0.8304 GB, free: 30.88 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00218/2.003, allocations: 0.5455 MB / 0.8309 GB, free: 30.88 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002237/2.005, allocations: 428.6 kB / 0.8313 GB, free: 30.85 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007774/2.013, allocations: 2.449 MB / 0.8337 GB, free: 30.68 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/2.013, allocations: 1.219 kB / 0.8337 GB, free: 30.68 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.607e-06/2.013, allocations: 0 / 0.8337 GB, free: 30.68 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001302/2.013, allocations: 0 / 0.8337 GB, free: 30.68 MB / 0.6387 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.00698/2.02, allocations: 1.997 MB / 0.8356 GB, free: 29.56 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.197e-05/2.02, allocations: 9.5 kB / 0.8357 GB, free: 29.56 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005446/2.021, allocations: 193.2 kB / 0.8358 GB, free: 29.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005457/2.026, allocations: 0.6552 MB / 0.8365 GB, free: 29.4 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004161/2.03, allocations: 1.277 MB / 0.8377 GB, free: 29.03 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/2.031, allocations: 102.4 kB / 0.8378 GB, free: 29.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002982/2.031, allocations: 140.4 kB / 0.838 GB, free: 29.02 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/2.034, allocations: 1.55 MB / 0.8395 GB, free: 28.83 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/2.034, allocations: 2.906 kB / 0.8395 GB, free: 28.83 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/2.034, allocations: 56.66 kB / 0.8395 GB, free: 28.83 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.138e-05/2.034, allocations: 54.75 kB / 0.8396 GB, free: 28.82 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/2.036, allocations: 1.252 MB / 0.8408 GB, free: 28.8 MB / 0.6387 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.01044/2.047, allocations: 7.208 MB / 0.8478 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/2.048, allocations: 0.6425 MB / 0.8485 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.339e-05/2.048, allocations: 17.75 kB / 0.8485 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/2.048, allocations: 48 kB / 0.8485 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001492/2.05, allocations: 146.7 kB / 0.8487 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=67): time 6.061e-06/2.05, allocations: 0 / 0.8487 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67): time 0.002205/2.052, allocations: 1.007 MB / 0.8497 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/2.052, allocations: 59.66 kB / 0.8497 GB, free: 24.61 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/2.054, allocations: 1.328 MB / 0.851 GB, free: 24.44 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001655/2.054, allocations: 46.61 kB / 0.8511 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008026/2.055, allocations: 0.7669 MB / 0.8518 GB, free: 24.12 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000264/2.055, allocations: 251.3 kB / 0.852 GB, free: 23.96 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/2.055, allocations: 19.09 kB / 0.8521 GB, free: 23.96 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001011/2.055, allocations: 347.5 kB / 0.8524 GB, free: 23.65 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/2.056, allocations: 339.4 kB / 0.8527 GB, free: 23.65 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007414/2.057, allocations: 0.6678 MB / 0.8534 GB, free: 23.28 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008989/2.057, allocations: 459.2 kB / 0.8538 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/2.057, allocations: 2.688 kB / 0.8538 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002277/2.06, allocations: 1.132 MB / 0.8549 GB, free: 23.15 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007946/2.061, allocations: 2.679 MB / 0.8575 GB, free: 20.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/2.061, allocations: 12.38 kB / 0.8575 GB, free: 20.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.519e-05/2.061, allocations: 12.67 kB / 0.8576 GB, free: 20.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009768/2.062, allocations: 220.7 kB / 0.8578 GB, free: 20.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.593e-05/2.062, allocations: 15.75 kB / 0.8578 GB, free: 20.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/2.064, allocations: 117.8 kB / 0.8579 GB, free: 20.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/2.064, allocations: 40.12 kB / 0.8579 GB, free: 20.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/2.064, allocations: 4.75 kB / 0.8579 GB, free: 20.38 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001683/2.066, allocations: 0.9784 MB / 0.8589 GB, free: 20.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/2.066, allocations: 5.688 kB / 0.8589 GB, free: 20.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/2.066, allocations: 11.62 kB / 0.8589 GB, free: 20.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008533/2.067, allocations: 211.5 kB / 0.8591 GB, free: 20.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/2.067, allocations: 15.62 kB / 0.8591 GB, free: 20.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/2.069, allocations: 126 kB / 0.8592 GB, free: 20.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/2.069, allocations: 40.78 kB / 0.8593 GB, free: 20.34 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001594/2.071, allocations: 0.4901 MB / 0.8598 GB, free: 20.14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005781/2.071, allocations: 150.9 kB / 0.8599 GB, free: 20.07 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/2.073, allocations: 0.8136 MB / 0.8607 GB, free: 20.01 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/2.073, allocations: 8.906 kB / 0.8607 GB, free: 20.01 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/2.073, allocations: 1.969 kB / 0.8607 GB, free: 20.01 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001028/2.074, allocations: 0.78 MB / 0.8615 GB, free: 19.76 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005068/2.079, allocations: 2.291 MB / 0.8637 GB, free: 19.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.84e-06/2.08, allocations: 0 / 0.8637 GB, free: 19.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009066/2.08, allocations: 172.2 kB / 0.8639 GB, free: 19.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/2.08, allocations: 12.05 kB / 0.8639 GB, free: 19.38 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/2.081, allocations: 17.31 kB / 0.8639 GB, free: 19.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.938e-06/2.081, allocations: 1.969 kB / 0.8639 GB, free: 19.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/2.081, allocations: 4.766 kB / 0.8639 GB, free: 19.38 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/2.083, allocations: 1.392 MB / 0.8653 GB, free: 18.98 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/2.084, allocations: 317.9 kB / 0.8656 GB, free: 18.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/2.084, allocations: 26.27 kB / 0.8656 GB, free: 18.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/2.085, allocations: 89.53 kB / 0.8657 GB, free: 18.79 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/2.085, allocations: 55.41 kB / 0.8657 GB, free: 18.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.283e-05/2.086, allocations: 34.45 kB / 0.8658 GB, free: 18.78 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001343/2.087, allocations: 0.8948 MB / 0.8666 GB, free: 18.67 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/2.087, allocations: 0 / 0.8666 GB, free: 18.67 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002809/2.09, allocations: 0.8441 MB / 0.8675 GB, free: 18.57 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002753/2.092, allocations: 2.48 MB / 0.8699 GB, free: 17.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002454/2.095, allocations: 1.318 MB / 0.8712 GB, free: 17.21 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/2.095, allocations: 0 / 0.8712 GB, free: 17.21 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004885/2.095, allocations: 346.4 kB / 0.8715 GB, free: 17.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004703/2.1, allocations: 0.8304 MB / 0.8723 GB, free: 17.14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/2.11, allocations: 8.912 MB / 0.881 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/2.112, allocations: 1.386 MB / 0.8824 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002612/2.114, allocations: 417.3 kB / 0.8828 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/2.115, allocations: 0.6121 MB / 0.8834 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of SimCode: time 1.473e-06/2.115, allocations: 0 / 0.8834 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09085/2.206, allocations: 40.35 MB / 0.9228 GB, free: 9.395 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003034/2.207, allocations: 227.3 kB / 0.923 GB, free: 9.148 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.307/6.513, allocations: 0 / 0.923 GB, free: 9.148 MB / 0.67 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/linux/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) Environment - environmentSimulation: