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.001686/0.001687, 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.002049/0.00205, allocations: 191.9 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.431/1.431, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9886/0.9886, allocations: 135.1 MB / 425.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 68.27 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2109, allocations: 80.92 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7344/0.9454, allocations: 274.6 MB / 0.8526 GB, free: 9.926 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4575/1.403, allocations: 17.32 MB / 0.8695 GB, free: 28.15 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003191/1.406, allocations: 68.66 kB / 0.8696 GB, free: 28.15 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003148/1.409, allocations: 1.173 MB / 0.8707 GB, free: 28.15 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01007/1.42, allocations: 3.089 MB / 0.8738 GB, free: 28.13 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006277/1.426, allocations: 2.194 MB / 0.8759 GB, free: 28.07 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007216/1.433, allocations: 4.815 MB / 0.8806 GB, free: 28.07 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/1.436, allocations: 1.762 MB / 0.8823 GB, free: 27.89 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00646/1.442, allocations: 2.401 MB / 0.8847 GB, free: 27.87 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003458/1.446, allocations: 1.546 MB / 0.8862 GB, free: 27.86 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005234/1.446, allocations: 194.1 kB / 0.8864 GB, free: 27.86 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006793/1.453, allocations: 3.012 MB / 0.8893 GB, free: 27.83 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009966/1.454, allocations: 0.7203 MB / 0.89 GB, free: 27.83 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002022/1.456, allocations: 1.118 MB / 0.8911 GB, free: 27.83 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006807/1.463, allocations: 3.8 MB / 0.8948 GB, free: 27.54 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.463, allocations: 0.7188 kB / 0.8948 GB, free: 27.54 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/1.463, allocations: 0.7812 kB / 0.8948 GB, free: 27.54 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.52e-05/1.463, allocations: 0.625 kB / 0.8948 GB, free: 27.54 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.004704/1.468, allocations: 2.437 MB / 0.8972 GB, free: 26.34 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/1.468, allocations: 9.125 kB / 0.8972 GB, free: 26.34 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002389/1.468, allocations: 200 kB / 0.8974 GB, free: 26.3 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/1.473, allocations: 0.6362 MB / 0.898 GB, free: 26.2 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/1.475, allocations: 1.33 MB / 0.8993 GB, free: 25.78 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.861e-05/1.475, allocations: 101.6 kB / 0.8994 GB, free: 25.77 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/1.475, allocations: 140.3 kB / 0.8995 GB, free: 25.77 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003165/1.478, allocations: 1.568 MB / 0.9011 GB, free: 25.58 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/1.478, allocations: 1.344 kB / 0.9011 GB, free: 25.58 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/1.479, allocations: 57.97 kB / 0.9011 GB, free: 25.58 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.288e-05/1.479, allocations: 50.72 kB / 0.9012 GB, free: 25.58 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/1.481, allocations: 1.264 MB / 0.9024 GB, free: 25.56 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.008805/1.49, allocations: 7.256 MB / 0.9095 GB, free: 21.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/1.491, allocations: 0.6504 MB / 0.9101 GB, free: 21.66 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/1.491, allocations: 373.4 kB / 0.9105 GB, free: 21.65 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/1.492, allocations: 109.4 kB / 0.9106 GB, free: 21.56 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/1.492, allocations: 49.11 kB / 0.9106 GB, free: 21.52 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008007/1.493, allocations: 102.1 kB / 0.9107 GB, free: 21.47 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 2.655e-06/1.493, allocations: 0.9375 kB / 0.9107 GB, free: 21.47 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.001786/1.494, allocations: 1.014 MB / 0.9117 GB, free: 21.35 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/1.494, allocations: 60.2 kB / 0.9118 GB, free: 21.29 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/1.496, allocations: 1.338 MB / 0.9131 GB, free: 21.12 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.378e-05/1.496, allocations: 43.55 kB / 0.9131 GB, free: 21.09 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/1.496, allocations: 0.773 MB / 0.9139 GB, free: 20.79 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/1.497, allocations: 245.9 kB / 0.9141 GB, free: 20.64 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/1.497, allocations: 203.9 kB / 0.9143 GB, free: 20.61 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.441e-05/1.497, allocations: 342.9 kB / 0.9146 GB, free: 20.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/1.498, allocations: 355.4 kB / 0.915 GB, free: 20.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000753/1.498, allocations: 0.6798 MB / 0.9157 GB, free: 19.94 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/1.5, allocations: 0.9521 MB / 0.9166 GB, free: 19.69 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.5, allocations: 2.469 kB / 0.9166 GB, free: 19.69 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001833/1.501, allocations: 1.145 MB / 0.9177 GB, free: 19.57 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.501, allocations: 8.844 kB / 0.9177 GB, free: 19.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/1.501, allocations: 6.125 kB / 0.9177 GB, free: 19.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/1.502, allocations: 13.06 kB / 0.9177 GB, free: 19.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/1.502, allocations: 212.8 kB / 0.9179 GB, free: 19.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.482e-05/1.502, allocations: 19.03 kB / 0.918 GB, free: 19.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/1.504, allocations: 54.8 kB / 0.918 GB, free: 19.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.855e-05/1.504, allocations: 42.62 kB / 0.918 GB, free: 19.57 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001201/1.505, allocations: 0.683 MB / 0.9187 GB, free: 19.49 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006959/1.506, allocations: 0.6722 MB / 0.9194 GB, free: 19.13 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001082/1.507, allocations: 0.949 MB / 0.9203 GB, free: 18.89 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.46e-06/1.507, allocations: 5.812 kB / 0.9203 GB, free: 18.89 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001672/1.509, allocations: 1.145 MB / 0.9214 GB, free: 18.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1.509, allocations: 7.031 kB / 0.9214 GB, free: 18.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.509, allocations: 7.656 kB / 0.9214 GB, free: 18.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/1.509, allocations: 10.88 kB / 0.9214 GB, free: 18.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007865/1.51, allocations: 216.9 kB / 0.9216 GB, free: 18.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/1.51, allocations: 20.03 kB / 0.9217 GB, free: 18.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/1.512, allocations: 64.05 kB / 0.9217 GB, free: 18.76 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.022e-05/1.512, allocations: 41.2 kB / 0.9218 GB, free: 18.76 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.0004338/1.512, allocations: 243.8 kB / 0.922 GB, free: 18.57 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/1.512, allocations: 146.8 kB / 0.9221 GB, free: 18.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/1.514, allocations: 0.8203 MB / 0.9229 GB, free: 18.45 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/1.514, allocations: 6.625 kB / 0.9229 GB, free: 18.45 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.514, allocations: 0 / 0.9229 GB, free: 18.45 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/1.515, allocations: 0.7838 MB / 0.9237 GB, free: 18.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003718/1.519, allocations: 2.297 MB / 0.926 GB, free: 17.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.519, allocations: 3.938 kB / 0.926 GB, free: 17.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008388/1.52, allocations: 169.8 kB / 0.9261 GB, free: 17.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/1.52, allocations: 3.062 kB / 0.9261 GB, free: 17.82 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/1.52, allocations: 20.62 kB / 0.9261 GB, free: 17.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/1.52, allocations: 8.812 kB / 0.9262 GB, free: 17.82 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.52, allocations: 2.875 kB / 0.9262 GB, free: 17.82 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/1.522, allocations: 1.311 MB / 0.9274 GB, free: 17.54 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006769/1.522, allocations: 315.3 kB / 0.9277 GB, free: 17.37 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/1.522, allocations: 14.97 kB / 0.9278 GB, free: 17.37 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009067/1.523, allocations: 41.67 kB / 0.9278 GB, free: 17.37 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/1.523, allocations: 44.36 kB / 0.9278 GB, free: 17.37 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/1.524, allocations: 37.39 kB / 0.9279 GB, free: 17.37 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00131/1.525, allocations: 0.9035 MB / 0.9288 GB, free: 17.26 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/1.525, allocations: 0.8438 kB / 0.9288 GB, free: 17.26 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002165/1.527, allocations: 0.8422 MB / 0.9296 GB, free: 17.15 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.002411/1.53, allocations: 2.018 MB / 0.9315 GB, free: 16.33 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002293/1.532, allocations: 1.432 MB / 0.9329 GB, free: 16.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.532, allocations: 2.875 kB / 0.9329 GB, free: 16.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004318/1.532, allocations: 348.2 kB / 0.9333 GB, free: 16.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/1.536, allocations: 0.8455 MB / 0.9341 GB, free: 16.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/1.549, allocations: 11.56 MB / 0.9454 GB, free: 11.55 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/1.55, allocations: 1.348 MB / 0.9467 GB, free: 10.34 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001718/1.552, allocations: 416.3 kB / 0.9471 GB, free: 9.926 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006658/1.552, allocations: 0.6145 MB / 0.9477 GB, free: 9.566 MB / 0.67 GB Notification: Performance of SimCode: time 8.12e-07/1.552, allocations: 0 / 0.9477 GB, free: 9.566 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08365/1.636, allocations: 41.4 MB / 0.9881 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.521/10.16, allocations: 8 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)