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.007473/0.007473, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001548/0.001548, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7496/0.7496, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 62.69 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1623, allocations: 80.21 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6828/0.8451, allocations: 274.6 MB / 0.9274 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02481/0.87, allocations: 17.35 MB / 0.9443 GB, free: 11.3 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003845/0.8738, allocations: 67.81 kB / 0.9444 GB, free: 11.3 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00392/0.8778, allocations: 1.215 MB / 0.9456 GB, free: 10.65 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.8879, allocations: 3.225 MB / 0.9487 GB, free: 7.977 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006474/0.8944, allocations: 2.228 MB / 0.9509 GB, free: 5.758 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00789/0.9023, allocations: 4.833 MB / 0.9556 GB, free: 0.918 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002992/0.9053, allocations: 1.759 MB / 0.9573 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0067/0.9121, allocations: 2.492 MB / 0.9598 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003192/0.9153, allocations: 1.544 MB / 0.9613 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005589/0.9159, allocations: 192 kB / 0.9614 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006923/0.9228, allocations: 3.028 MB / 0.9644 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.9242, allocations: 0.7207 MB / 0.9651 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002119/0.9263, allocations: 1.12 MB / 0.9662 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008976/0.9353, allocations: 3.843 MB / 0.9699 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.9354, allocations: 0 / 0.9699 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of FrontEnd: time 5.129e-06/0.9354, allocations: 3.984 kB / 0.97 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.148e-05/0.9354, allocations: 0 / 0.97 GB, free: 2.176 MB / 0.6856 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.004963/0.9404, allocations: 2.491 MB / 0.9724 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.9405, allocations: 8.031 kB / 0.9724 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002365/0.9407, allocations: 194.1 kB / 0.9726 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004625/0.9454, allocations: 0.6466 MB / 0.9732 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002798/0.9482, allocations: 1.41 MB / 0.9746 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.422e-05/0.9483, allocations: 102.5 kB / 0.9747 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.9485, allocations: 147.9 kB / 0.9748 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/0.9511, allocations: 1.565 MB / 0.9764 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.9511, allocations: 0 / 0.9764 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.9512, allocations: 60 kB / 0.9764 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-05/0.9513, allocations: 46.44 kB / 0.9765 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.9534, allocations: 1.266 MB / 0.9777 GB, free: 10.04 MB / 0.7012 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.009122/0.9625, allocations: 7.204 MB / 0.9847 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009888/0.9635, allocations: 0.6568 MB / 0.9854 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/0.964, allocations: 363 kB / 0.9857 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.9642, allocations: 105.6 kB / 0.9858 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.9643, allocations: 55 kB / 0.9859 GB, free: 1.059 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005858/0.9649, allocations: 107.3 kB / 0.986 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=67): time 2.755e-06/0.9649, allocations: 0 / 0.986 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of matching and sorting (n=67): time 0.001854/0.9668, allocations: 1.017 MB / 0.987 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.9668, allocations: 59.97 kB / 0.987 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.9685, allocations: 1.339 MB / 0.9883 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.129e-05/0.9686, allocations: 45.7 kB / 0.9884 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005991/0.9692, allocations: 0.7829 MB / 0.9891 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.9694, allocations: 261.8 kB / 0.9894 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.9697, allocations: 198.5 kB / 0.9896 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.9699, allocations: 345.9 kB / 0.9899 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.9705, allocations: 356.6 kB / 0.9902 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008354/0.9713, allocations: 0.683 MB / 0.9909 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.9726, allocations: 0.9449 MB / 0.9918 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.9726, allocations: 4 kB / 0.9918 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001793/0.9744, allocations: 1.156 MB / 0.993 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.9745, allocations: 8 kB / 0.993 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.9745, allocations: 8 kB / 0.993 GB, free: 9.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.9745, allocations: 12 kB / 0.993 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/0.9754, allocations: 212.2 kB / 0.9932 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/0.9754, allocations: 19.92 kB / 0.9932 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.9768, allocations: 43.98 kB / 0.9933 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/0.9768, allocations: 43.98 kB / 0.9933 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001088/0.9779, allocations: 0.6815 MB / 0.994 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007723/0.9787, allocations: 0.6723 MB / 0.9946 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001213/0.9799, allocations: 0.9489 MB / 0.9955 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.003e-06/0.9799, allocations: 4 kB / 0.9956 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001799/0.9818, allocations: 1.149 MB / 0.9967 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.9818, allocations: 12.27 kB / 0.9967 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.9818, allocations: 8 kB / 0.9967 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.9818, allocations: 12.03 kB / 0.9967 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008291/0.9827, allocations: 219.5 kB / 0.9969 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.855e-05/0.9827, allocations: 16.48 kB / 0.9969 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.984, allocations: 65.75 kB / 0.997 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.594e-05/0.9841, allocations: 36 kB / 0.997 GB, free: 5.102 MB / 0.7169 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.0002913/0.9844, allocations: 240 kB / 0.9973 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/0.9847, allocations: 167 kB / 0.9974 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.9861, allocations: 0.8178 MB / 0.9982 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.9861, allocations: 4 kB / 0.9982 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.9861, allocations: 0 / 0.9982 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009946/0.9871, allocations: 0.7862 MB / 0.999 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.9906, allocations: 2.291 MB / 1.001 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.9906, allocations: 0 / 1.001 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008424/0.9914, allocations: 176 kB / 1.001 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.9915, allocations: 4 kB / 1.001 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/0.9915, allocations: 19.98 kB / 1.001 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.9915, allocations: 11.94 kB / 1.001 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9915, allocations: 0 / 1.001 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.9933, allocations: 1.317 MB / 1.003 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005877/0.9939, allocations: 331.9 kB / 1.003 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.9941, allocations: 16 kB / 1.003 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008845/0.995, allocations: 45.36 kB / 1.003 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.9951, allocations: 48.44 kB / 1.003 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-05/0.9952, allocations: 31.98 kB / 1.003 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001207/0.9964, allocations: 0.9044 MB / 1.004 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9964, allocations: 0 / 1.004 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001877/0.9983, allocations: 0.8384 MB / 1.005 GB, free: 12.88 MB / 0.7325 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.00257/1.001, allocations: 2.022 MB / 1.007 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0023/1.003, allocations: 1.331 MB / 1.008 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.003, allocations: 4.125 kB / 1.008 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004863/1.004, allocations: 358.9 kB / 1.008 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003852/1.008, allocations: 0.8385 MB / 1.009 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/1.023, allocations: 10.68 MB / 1.02 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/1.024, allocations: 1.348 MB / 1.021 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001645/1.026, allocations: 412.3 kB / 1.021 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000899/1.027, allocations: 0.6125 MB / 1.022 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of SimCode: time 1.392e-06/1.027, allocations: 0 / 1.022 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09466/1.121, allocations: 41.74 MB / 1.063 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.97, allocations: 15.03 kB / 1.063 GB, free: 1.711 MB / 0.7794 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)