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.001604/0.001604, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002016/0.002016, allocations: 195.6 kB / 16.14 MB, free: 6.707 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.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7283/0.7283, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 63.56 kB / 0.5012 GB, free: 9.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1423, allocations: 80.21 MB / 0.5795 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5199/0.6623, allocations: 272.5 MB / 0.8456 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0221/0.6844, allocations: 17.46 MB / 0.8626 GB, free: 1.035 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002434/0.6868, allocations: 63.62 kB / 0.8627 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.3496/1.036, allocations: 0.9978 MB / 0.8637 GB, free: 28.05 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006491/1.043, allocations: 2.916 MB / 0.8665 GB, free: 28.04 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004527/1.048, allocations: 2.01 MB / 0.8685 GB, free: 28.03 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007135/1.055, allocations: 6.73 MB / 0.8751 GB, free: 28.02 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/1.057, allocations: 1.468 MB / 0.8765 GB, free: 27.89 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005619/1.063, allocations: 2.117 MB / 0.8786 GB, free: 27.87 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/1.066, allocations: 1.589 MB / 0.8801 GB, free: 27.86 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003908/1.067, allocations: 97.19 kB / 0.8802 GB, free: 27.86 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007174/1.074, allocations: 3.422 MB / 0.8836 GB, free: 27.84 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001694/1.075, allocations: 0.6349 MB / 0.8842 GB, free: 27.84 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002459/1.078, allocations: 1.014 MB / 0.8852 GB, free: 27.83 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007719/1.086, allocations: 3.918 MB / 0.889 GB, free: 27.63 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.086, allocations: 0 / 0.889 GB, free: 27.63 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.593e-06/1.086, allocations: 0.7812 kB / 0.889 GB, free: 27.63 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.998e-05/1.086, allocations: 0 / 0.889 GB, free: 27.63 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.004898/1.091, allocations: 2.437 MB / 0.8914 GB, free: 26.43 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.091, allocations: 12 kB / 0.8914 GB, free: 26.43 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002678/1.091, allocations: 198.1 kB / 0.8916 GB, free: 26.39 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004799/1.096, allocations: 0.6356 MB / 0.8922 GB, free: 26.28 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/1.098, allocations: 1.333 MB / 0.8935 GB, free: 25.85 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.866e-05/1.098, allocations: 100.8 kB / 0.8936 GB, free: 25.85 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/1.099, allocations: 136.6 kB / 0.8937 GB, free: 25.85 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002612/1.101, allocations: 1.57 MB / 0.8953 GB, free: 25.65 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/1.101, allocations: 5.844 kB / 0.8953 GB, free: 25.65 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/1.101, allocations: 56.28 kB / 0.8953 GB, free: 25.65 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.289e-05/1.102, allocations: 48.38 kB / 0.8954 GB, free: 25.65 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/1.104, allocations: 1.266 MB / 0.8966 GB, free: 25.63 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.008119/1.112, allocations: 7.197 MB / 0.9036 GB, free: 21.75 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/1.113, allocations: 0.6557 MB / 0.9043 GB, free: 21.72 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004951/1.113, allocations: 369.9 kB / 0.9046 GB, free: 21.71 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/1.114, allocations: 103.4 kB / 0.9047 GB, free: 21.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/1.114, allocations: 47.38 kB / 0.9048 GB, free: 21.57 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009669/1.115, allocations: 150.2 kB / 0.9049 GB, free: 21.52 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 2.755e-06/1.115, allocations: 0 / 0.9049 GB, free: 21.52 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.001878/1.117, allocations: 1.017 MB / 0.9059 GB, free: 21.39 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/1.117, allocations: 62.62 kB / 0.906 GB, free: 21.33 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/1.118, allocations: 1.337 MB / 0.9073 GB, free: 21.16 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.101e-05/1.118, allocations: 43.77 kB / 0.9073 GB, free: 21.13 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005953/1.119, allocations: 0.7799 MB / 0.9081 GB, free: 20.83 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000265/1.119, allocations: 241.7 kB / 0.9083 GB, free: 20.68 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003698/1.12, allocations: 202 kB / 0.9085 GB, free: 20.66 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.92e-05/1.12, allocations: 347.8 kB / 0.9088 GB, free: 20.35 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006058/1.12, allocations: 353.6 kB / 0.9092 GB, free: 20.34 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000836/1.121, allocations: 0.6779 MB / 0.9098 GB, free: 19.97 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/1.122, allocations: 0.9492 MB / 0.9107 GB, free: 19.71 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/1.122, allocations: 2.031 kB / 0.9107 GB, free: 19.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002193/1.125, allocations: 1.146 MB / 0.9119 GB, free: 19.59 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.125, allocations: 10.41 kB / 0.9119 GB, free: 19.59 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.125, allocations: 9.547 kB / 0.9119 GB, free: 19.59 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/1.125, allocations: 15.22 kB / 0.9119 GB, free: 19.59 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000924/1.126, allocations: 215.7 kB / 0.9121 GB, free: 19.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/1.126, allocations: 16.73 kB / 0.9121 GB, free: 19.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/1.128, allocations: 126.7 kB / 0.9122 GB, free: 19.56 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9e-05/1.128, allocations: 41.44 kB / 0.9123 GB, free: 19.56 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001095/1.129, allocations: 0.6824 MB / 0.9129 GB, free: 19.48 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006461/1.129, allocations: 0.6754 MB / 0.9136 GB, free: 19.11 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001068/1.13, allocations: 0.9496 MB / 0.9145 GB, free: 18.85 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/1.13, allocations: 2.141 kB / 0.9145 GB, free: 18.85 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001793/1.132, allocations: 1.144 MB / 0.9157 GB, free: 18.74 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.132, allocations: 9.719 kB / 0.9157 GB, free: 18.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/1.132, allocations: 12.03 kB / 0.9157 GB, free: 18.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/1.132, allocations: 11.06 kB / 0.9157 GB, free: 18.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/1.133, allocations: 210.4 kB / 0.9159 GB, free: 18.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/1.133, allocations: 21.2 kB / 0.9159 GB, free: 18.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/1.135, allocations: 125.2 kB / 0.916 GB, free: 18.71 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/1.135, allocations: 42.31 kB / 0.9161 GB, free: 18.71 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.00027/1.135, allocations: 241.1 kB / 0.9163 GB, free: 18.53 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/1.136, allocations: 155.8 kB / 0.9164 GB, free: 18.45 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/1.137, allocations: 0.8105 MB / 0.9172 GB, free: 18.39 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/1.137, allocations: 10.56 kB / 0.9172 GB, free: 18.39 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.137, allocations: 2.531 kB / 0.9172 GB, free: 18.39 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008351/1.138, allocations: 0.7858 MB / 0.918 GB, free: 18.13 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/1.141, allocations: 2.297 MB / 0.9203 GB, free: 17.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.141, allocations: 2.812 kB / 0.9203 GB, free: 17.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008102/1.142, allocations: 177.4 kB / 0.9204 GB, free: 17.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/1.142, allocations: 2.344 kB / 0.9204 GB, free: 17.75 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/1.142, allocations: 27.75 kB / 0.9205 GB, free: 17.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/1.142, allocations: 5 kB / 0.9205 GB, free: 17.75 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.142, allocations: 5.719 kB / 0.9205 GB, free: 17.75 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/1.144, allocations: 1.309 MB / 0.9217 GB, free: 17.46 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000614/1.144, allocations: 316.9 kB / 0.922 GB, free: 17.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/1.144, allocations: 16.12 kB / 0.9221 GB, free: 17.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.145, allocations: 97.11 kB / 0.9222 GB, free: 17.28 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.859e-05/1.146, allocations: 43.48 kB / 0.9222 GB, free: 17.28 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-05/1.146, allocations: 33.14 kB / 0.9222 GB, free: 17.28 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001063/1.147, allocations: 0.9104 MB / 0.9231 GB, free: 17.16 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/1.147, allocations: 6.781 kB / 0.9231 GB, free: 17.16 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001962/1.149, allocations: 0.8368 MB / 0.9239 GB, free: 17.06 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.002036/1.151, allocations: 2.009 MB / 0.9259 GB, free: 16.22 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001875/1.153, allocations: 1.329 MB / 0.9272 GB, free: 16.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.153, allocations: 2.688 kB / 0.9272 GB, free: 16.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004049/1.153, allocations: 344.3 kB / 0.9275 GB, free: 16.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/1.157, allocations: 0.8439 MB / 0.9284 GB, free: 16.14 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/1.174, allocations: 12.11 MB / 0.9402 GB, free: 11.03 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/1.175, allocations: 1.349 MB / 0.9415 GB, free: 10.29 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002307/1.177, allocations: 411.9 kB / 0.9419 GB, free: 10.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008777/1.178, allocations: 0.6182 MB / 0.9425 GB, free: 10.19 MB / 0.67 GB Notification: Performance of SimCode: time 1.172e-06/1.178, allocations: 0 / 0.9425 GB, free: 10.19 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6406/1.819, allocations: 40.32 MB / 0.9819 GB, free: 4.18 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/1.819, allocations: 238.9 kB / 0.9821 GB, free: 3.926 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/4.65, allocations: 0 / 0.9821 GB, free: 3.926 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)