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.001477/0.001477, allocations: 108 kB / 15.61 MB, free: 152 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.001516/0.001516, allocations: 197 kB / 16.53 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7491/0.7491, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 64.66 kB / 0.5019 GB, free: 8.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1776, allocations: 80.21 MB / 0.5802 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6131/0.7908, allocations: 274.6 MB / 0.8483 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4293/1.22, allocations: 17.34 MB / 0.8653 GB, free: 27.69 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/1.222, allocations: 71.09 kB / 0.8653 GB, free: 27.69 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002549/1.225, allocations: 1.162 MB / 0.8665 GB, free: 27.69 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007263/1.232, allocations: 3.089 MB / 0.8695 GB, free: 27.68 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005404/1.238, allocations: 2.194 MB / 0.8716 GB, free: 27.62 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007902/1.246, allocations: 4.82 MB / 0.8763 GB, free: 27.62 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00315/1.249, allocations: 1.757 MB / 0.8781 GB, free: 27.44 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006542/1.255, allocations: 2.408 MB / 0.8804 GB, free: 27.42 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003828/1.259, allocations: 1.532 MB / 0.8819 GB, free: 27.41 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005673/1.26, allocations: 191.1 kB / 0.8821 GB, free: 27.41 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00703/1.267, allocations: 3.01 MB / 0.885 GB, free: 27.39 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001569/1.268, allocations: 0.7241 MB / 0.8857 GB, free: 27.39 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002657/1.271, allocations: 1.119 MB / 0.8868 GB, free: 27.39 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007156/1.278, allocations: 3.8 MB / 0.8905 GB, free: 27.16 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.278, allocations: 0 / 0.8905 GB, free: 27.16 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.693e-06/1.278, allocations: 0 / 0.8905 GB, free: 27.16 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.666e-05/1.278, allocations: 1.562 kB / 0.8905 GB, free: 27.16 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.005501/1.284, allocations: 2.434 MB / 0.8929 GB, free: 25.96 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.284, allocations: 10.91 kB / 0.8929 GB, free: 25.96 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003163/1.284, allocations: 196.9 kB / 0.8931 GB, free: 25.92 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005143/1.289, allocations: 0.6427 MB / 0.8937 GB, free: 25.82 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003095/1.292, allocations: 1.331 MB / 0.895 GB, free: 25.39 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/1.293, allocations: 104.5 kB / 0.8951 GB, free: 25.39 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002943/1.293, allocations: 139.9 kB / 0.8953 GB, free: 25.39 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/1.296, allocations: 1.569 MB / 0.8968 GB, free: 25.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/1.296, allocations: 1.219 kB / 0.8968 GB, free: 25.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/1.296, allocations: 59.23 kB / 0.8969 GB, free: 25.2 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-05/1.296, allocations: 51.66 kB / 0.8969 GB, free: 25.19 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/1.299, allocations: 1.269 MB / 0.8982 GB, free: 25.18 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.009909/1.309, allocations: 7.241 MB / 0.9052 GB, free: 21.32 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009938/1.31, allocations: 0.6512 MB / 0.9059 GB, free: 21.29 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005045/1.31, allocations: 370.7 kB / 0.9062 GB, free: 21.28 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/1.31, allocations: 106.4 kB / 0.9063 GB, free: 21.18 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/1.31, allocations: 43.53 kB / 0.9064 GB, free: 21.14 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009564/1.311, allocations: 111.8 kB / 0.9065 GB, free: 21.09 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 4.488e-06/1.311, allocations: 0 / 0.9065 GB, free: 21.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.001944/1.313, allocations: 1.014 MB / 0.9075 GB, free: 20.97 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/1.313, allocations: 59.44 kB / 0.9075 GB, free: 20.91 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/1.315, allocations: 1.341 MB / 0.9088 GB, free: 20.74 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.177e-05/1.315, allocations: 47.3 kB / 0.9089 GB, free: 20.71 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004677/1.316, allocations: 0.7673 MB / 0.9096 GB, free: 20.41 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/1.316, allocations: 248 kB / 0.9099 GB, free: 20.26 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/1.316, allocations: 201 kB / 0.91 GB, free: 20.23 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.279e-05/1.316, allocations: 343.4 kB / 0.9104 GB, free: 19.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005214/1.317, allocations: 357.7 kB / 0.9107 GB, free: 19.92 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/1.317, allocations: 0.6779 MB / 0.9114 GB, free: 19.56 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/1.319, allocations: 0.9556 MB / 0.9123 GB, free: 19.31 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/1.319, allocations: 3 kB / 0.9123 GB, free: 19.31 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001657/1.32, allocations: 1.144 MB / 0.9134 GB, free: 19.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/1.32, allocations: 11.97 kB / 0.9134 GB, free: 19.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/1.32, allocations: 8.438 kB / 0.9134 GB, free: 19.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/1.32, allocations: 11.03 kB / 0.9135 GB, free: 19.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009037/1.321, allocations: 216.1 kB / 0.9137 GB, free: 19.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/1.321, allocations: 14.5 kB / 0.9137 GB, free: 19.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/1.323, allocations: 52.72 kB / 0.9137 GB, free: 19.19 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/1.323, allocations: 45.52 kB / 0.9138 GB, free: 19.19 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001209/1.324, allocations: 0.6842 MB / 0.9144 GB, free: 19.11 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007813/1.325, allocations: 0.6759 MB / 0.9151 GB, free: 18.75 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001173/1.326, allocations: 0.9459 MB / 0.916 GB, free: 18.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.759e-06/1.326, allocations: 3.906 kB / 0.916 GB, free: 18.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001739/1.328, allocations: 1.146 MB / 0.9171 GB, free: 18.39 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/1.328, allocations: 9.812 kB / 0.9172 GB, free: 18.39 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.328, allocations: 9.562 kB / 0.9172 GB, free: 18.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/1.328, allocations: 12.25 kB / 0.9172 GB, free: 18.38 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008109/1.329, allocations: 207 kB / 0.9174 GB, free: 18.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/1.329, allocations: 20.98 kB / 0.9174 GB, free: 18.38 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/1.33, allocations: 55.45 kB / 0.9174 GB, free: 18.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/1.33, allocations: 42.84 kB / 0.9175 GB, free: 18.38 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.0003114/1.331, allocations: 242.3 kB / 0.9177 GB, free: 18.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/1.331, allocations: 156.5 kB / 0.9179 GB, free: 18.12 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/1.332, allocations: 0.8133 MB / 0.9187 GB, free: 18.06 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/1.332, allocations: 8.25 kB / 0.9187 GB, free: 18.06 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.332, allocations: 0 / 0.9187 GB, free: 18.06 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008202/1.333, allocations: 0.7883 MB / 0.9194 GB, free: 17.81 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/1.336, allocations: 2.3 MB / 0.9217 GB, free: 17.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.336, allocations: 0 / 0.9217 GB, free: 17.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007754/1.337, allocations: 170 kB / 0.9219 GB, free: 17.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/1.337, allocations: 5.719 kB / 0.9219 GB, free: 17.43 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/1.337, allocations: 20.41 kB / 0.9219 GB, free: 17.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/1.337, allocations: 6.156 kB / 0.9219 GB, free: 17.43 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.337, allocations: 4 kB / 0.9219 GB, free: 17.43 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/1.339, allocations: 1.311 MB / 0.9232 GB, free: 17.14 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005556/1.339, allocations: 316.4 kB / 0.9235 GB, free: 16.98 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/1.34, allocations: 20.72 kB / 0.9235 GB, free: 16.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008761/1.34, allocations: 35.92 kB / 0.9235 GB, free: 16.97 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/1.341, allocations: 49.98 kB / 0.9236 GB, free: 16.97 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.734e-05/1.341, allocations: 31.98 kB / 0.9236 GB, free: 16.97 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001033/1.342, allocations: 0.9109 MB / 0.9245 GB, free: 16.86 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/1.342, allocations: 0 / 0.9245 GB, free: 16.86 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001974/1.344, allocations: 0.834 MB / 0.9253 GB, free: 16.76 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.002057/1.346, allocations: 2.016 MB / 0.9273 GB, free: 15.95 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002238/1.348, allocations: 1.434 MB / 0.9287 GB, free: 15.93 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.348, allocations: 2.625 kB / 0.9287 GB, free: 15.93 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004083/1.348, allocations: 349.5 kB / 0.929 GB, free: 15.93 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/1.352, allocations: 0.8437 MB / 0.9298 GB, free: 15.85 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/1.366, allocations: 11.57 MB / 0.9411 GB, free: 11.32 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006991/1.366, allocations: 1.348 MB / 0.9424 GB, free: 10.59 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00175/1.368, allocations: 415.8 kB / 0.9428 GB, free: 10.49 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006895/1.369, allocations: 0.612 MB / 0.9434 GB, free: 10.48 MB / 0.67 GB Notification: Performance of SimCode: time 7.51e-07/1.369, allocations: 0 / 0.9434 GB, free: 10.48 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07483/1.444, allocations: 41.41 MB / 0.9839 GB, free: 3.238 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.448/9.892, allocations: 10.98 kB / 0.9839 GB, free: 3.234 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)