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.0009617/0.0009614, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.00111/0.00111, allocations: 173 kB / 16.27 MB, free: 6.664 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.347/1.347, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8747/0.8747, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003232, allocations: 13.7 kB / 0.5077 GB, free: 4.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.145, allocations: 82.3 MB / 0.5881 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5257/0.6707, allocations: 268.8 MB / 0.8506 GB, free: 15.4 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.3114/0.9822, allocations: 17.26 MB / 0.8674 GB, free: 31.86 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001758/0.984, allocations: 62.25 kB / 0.8675 GB, free: 31.86 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.986, allocations: 0.9965 MB / 0.8685 GB, free: 31.86 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004989/0.991, allocations: 2.916 MB / 0.8713 GB, free: 31.83 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.9946, allocations: 2.018 MB / 0.8733 GB, free: 31.77 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004696/0.9993, allocations: 6.725 MB / 0.8798 GB, free: 31.76 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/1.001, allocations: 1.427 MB / 0.8812 GB, free: 31.63 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003787/1.005, allocations: 2.061 MB / 0.8832 GB, free: 31.6 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/1.007, allocations: 1.516 MB / 0.8847 GB, free: 31.6 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/1.007, allocations: 76.41 kB / 0.8848 GB, free: 31.6 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004409/1.011, allocations: 3.402 MB / 0.8881 GB, free: 31.57 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004705/1.012, allocations: 0.5995 MB / 0.8887 GB, free: 31.57 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008736/1.012, allocations: 0.9981 MB / 0.8897 GB, free: 31.54 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004398/1.017, allocations: 3.852 MB / 0.8934 GB, free: 31.33 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/1.017, allocations: 0.875 kB / 0.8934 GB, free: 31.33 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.352e-06/1.017, allocations: 0 / 0.8934 GB, free: 31.33 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.487e-05/1.017, allocations: 0 / 0.8934 GB, free: 31.33 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.003047/1.02, allocations: 2.032 MB / 0.8954 GB, free: 30.19 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/1.02, allocations: 10.31 kB / 0.8954 GB, free: 30.19 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002094/1.02, allocations: 200.2 kB / 0.8956 GB, free: 30.15 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003839/1.024, allocations: 0.6423 MB / 0.8963 GB, free: 30.04 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/1.026, allocations: 1.342 MB / 0.8976 GB, free: 29.61 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-05/1.026, allocations: 104 kB / 0.8977 GB, free: 29.6 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/1.026, allocations: 133.7 kB / 0.8978 GB, free: 29.6 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/1.028, allocations: 1.569 MB / 0.8993 GB, free: 29.41 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/1.028, allocations: 4.031 kB / 0.8993 GB, free: 29.41 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/1.028, allocations: 58.75 kB / 0.8994 GB, free: 29.41 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.228e-05/1.029, allocations: 47.8 kB / 0.8994 GB, free: 29.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/1.03, allocations: 1.266 MB / 0.9007 GB, free: 29.39 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.006248/1.037, allocations: 7.212 MB / 0.9077 GB, free: 25.52 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008763/1.037, allocations: 0.6572 MB / 0.9084 GB, free: 25.48 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/1.038, allocations: 370 kB / 0.9087 GB, free: 25.47 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/1.038, allocations: 100.7 kB / 0.9088 GB, free: 25.38 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/1.038, allocations: 46.38 kB / 0.9088 GB, free: 25.34 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005289/1.039, allocations: 152.4 kB / 0.909 GB, free: 25.29 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 1.953e-06/1.039, allocations: 4 kB / 0.909 GB, free: 25.28 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.001641/1.04, allocations: 1.013 MB / 0.91 GB, free: 25.16 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/1.04, allocations: 59.09 kB / 0.91 GB, free: 25.09 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/1.042, allocations: 1.336 MB / 0.9113 GB, free: 24.93 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/1.042, allocations: 45.73 kB / 0.9114 GB, free: 24.89 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005133/1.043, allocations: 0.7722 MB / 0.9121 GB, free: 24.6 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/1.043, allocations: 248.6 kB / 0.9124 GB, free: 24.44 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/1.043, allocations: 84.94 kB / 0.9125 GB, free: 24.43 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.913e-05/1.043, allocations: 345.7 kB / 0.9128 GB, free: 24.12 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/1.043, allocations: 344.3 kB / 0.9131 GB, free: 24.12 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006484/1.044, allocations: 0.682 MB / 0.9138 GB, free: 23.75 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/1.045, allocations: 0.9472 MB / 0.9147 GB, free: 23.49 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.045, allocations: 2.75 kB / 0.9147 GB, free: 23.49 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001498/1.047, allocations: 1.147 MB / 0.9158 GB, free: 23.38 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.57e-05/1.047, allocations: 297.8 kB / 0.9161 GB, free: 23.04 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.047, allocations: 9.453 kB / 0.9161 GB, free: 23.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.047, allocations: 11.44 kB / 0.9161 GB, free: 23.04 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007826/1.048, allocations: 212.1 kB / 0.9163 GB, free: 23.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/1.048, allocations: 14.56 kB / 0.9164 GB, free: 23.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/1.049, allocations: 124.3 kB / 0.9165 GB, free: 23.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/1.049, allocations: 44.38 kB / 0.9165 GB, free: 23.02 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.543e-06/1.049, allocations: 8.25 kB / 0.9165 GB, free: 23.02 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00129/1.05, allocations: 0.9795 MB / 0.9175 GB, free: 23.01 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.05, allocations: 6.531 kB / 0.9175 GB, free: 23.01 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/1.05, allocations: 12.91 kB / 0.9175 GB, free: 23.01 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/1.051, allocations: 211 kB / 0.9177 GB, free: 23.01 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/1.051, allocations: 15.03 kB / 0.9177 GB, free: 23.01 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/1.052, allocations: 130.1 kB / 0.9178 GB, free: 22.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/1.052, allocations: 39.92 kB / 0.9179 GB, free: 22.98 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.0004775/1.053, allocations: 0.49 MB / 0.9184 GB, free: 22.79 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/1.053, allocations: 148.9 kB / 0.9185 GB, free: 22.71 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/1.054, allocations: 0.8171 MB / 0.9193 GB, free: 22.66 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.054, allocations: 15.16 kB / 0.9193 GB, free: 22.65 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.054, allocations: 3.938 kB / 0.9193 GB, free: 22.65 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007477/1.055, allocations: 0.7834 MB / 0.9201 GB, free: 22.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/1.057, allocations: 2.3 MB / 0.9223 GB, free: 22.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/1.057, allocations: 0 / 0.9223 GB, free: 22.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006939/1.058, allocations: 176.3 kB / 0.9225 GB, free: 21.99 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/1.058, allocations: 6.281 kB / 0.9225 GB, free: 21.99 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/1.058, allocations: 17.62 kB / 0.9225 GB, free: 21.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.058, allocations: 4.469 kB / 0.9225 GB, free: 21.99 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.058, allocations: 0 / 0.9225 GB, free: 21.99 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/1.059, allocations: 1.317 MB / 0.9238 GB, free: 21.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/1.06, allocations: 318.8 kB / 0.9241 GB, free: 21.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/1.06, allocations: 16.38 kB / 0.9241 GB, free: 21.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009199/1.061, allocations: 93.56 kB / 0.9242 GB, free: 21.36 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/1.061, allocations: 50.16 kB / 0.9243 GB, free: 21.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/1.061, allocations: 31.92 kB / 0.9243 GB, free: 21.34 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008453/1.062, allocations: 0.9083 MB / 0.9252 GB, free: 21.09 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/1.062, allocations: 0 / 0.9252 GB, free: 21.09 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001525/1.063, allocations: 0.8507 MB / 0.926 GB, free: 20.98 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.001773/1.065, allocations: 2.013 MB / 0.928 GB, free: 20.02 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001453/1.067, allocations: 1.324 MB / 0.9293 GB, free: 19.87 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.067, allocations: 384 / 0.9293 GB, free: 19.87 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/1.067, allocations: 358 kB / 0.9296 GB, free: 19.82 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/1.071, allocations: 0.8285 MB / 0.9304 GB, free: 19.55 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/1.084, allocations: 12.24 MB / 0.9424 GB, free: 13.34 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/1.084, allocations: 1.348 MB / 0.9437 GB, free: 12.38 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001313/1.085, allocations: 415 kB / 0.9441 GB, free: 12.18 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006094/1.086, allocations: 0.6139 MB / 0.9447 GB, free: 12.12 MB / 0.67 GB Notification: Performance of SimCode: time 2.71e-07/1.086, allocations: 0 / 0.9447 GB, free: 12.12 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.349/2.435, allocations: 40.23 MB / 0.984 GB, free: 5.586 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/2.435, allocations: 243 kB / 0.9842 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.198/5.634, allocations: 4 kB / 0.9842 GB, free: 5.328 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)