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.004801/0.004801, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001266/0.001266, allocations: 198.2 kB / 16.68 MB, free: 5.969 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.399/1.399, 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-master/package.mo): time 0.9625/0.9625, allocations: 135.6 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 71.88 kB / 0.5858 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3975, allocations: 81.02 MB / 0.6649 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7166/1.114, allocations: 274.6 MB / 0.933 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02161/1.136, allocations: 17.34 MB / 0.95 GB, free: 16.12 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003907/1.14, allocations: 71.12 kB / 0.95 GB, free: 16.12 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003654/1.143, allocations: 1.169 MB / 0.9512 GB, free: 16.09 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009778/1.153, allocations: 3.09 MB / 0.9542 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005978/1.159, allocations: 2.212 MB / 0.9564 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006787/1.166, allocations: 4.831 MB / 0.9611 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002573/1.169, allocations: 1.757 MB / 0.9628 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006387/1.175, allocations: 2.411 MB / 0.9651 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003427/1.179, allocations: 1.538 MB / 0.9667 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005441/1.179, allocations: 190.1 kB / 0.9668 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006785/1.186, allocations: 3.013 MB / 0.9698 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001103/1.187, allocations: 0.7176 MB / 0.9705 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002001/1.189, allocations: 1.116 MB / 0.9716 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00737/1.196, allocations: 3.847 MB / 0.9753 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.196, allocations: 0 / 0.9753 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.154e-06/1.197, allocations: 4 kB / 0.9753 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.001e-05/1.197, allocations: 2.469 kB / 0.9753 GB, free: 9.41 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.003995/1.201, allocations: 2.483 MB / 0.9778 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.201, allocations: 14.22 kB / 0.9778 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/1.201, allocations: 195.4 kB / 0.978 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004264/1.205, allocations: 0.6538 MB / 0.9786 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/1.207, allocations: 1.408 MB / 0.98 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/1.207, allocations: 98.36 kB / 0.9801 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/1.207, allocations: 140.3 kB / 0.9802 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/1.21, allocations: 1.578 MB / 0.9817 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/1.21, allocations: 6.562 kB / 0.9817 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/1.21, allocations: 52 kB / 0.9818 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-05/1.21, allocations: 46.45 kB / 0.9818 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/1.211, allocations: 1.269 MB / 0.9831 GB, free: 3.543 MB / 0.6856 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.00851/1.22, allocations: 7.204 MB / 0.9901 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/1.221, allocations: 0.6462 MB / 0.9907 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005805/1.222, allocations: 382 kB / 0.9911 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/1.222, allocations: 112.5 kB / 0.9912 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/1.222, allocations: 43.12 kB / 0.9913 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006755/1.223, allocations: 95.39 kB / 0.9913 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=67): time 3.126e-06/1.223, allocations: 4 kB / 0.9913 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of matching and sorting (n=67): time 0.002056/1.225, allocations: 1.016 MB / 0.9923 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/1.225, allocations: 59.97 kB / 0.9924 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/1.227, allocations: 1.343 MB / 0.9937 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.976e-05/1.227, allocations: 41.7 kB / 0.9937 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007271/1.228, allocations: 0.7924 MB / 0.9945 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/1.228, allocations: 250.2 kB / 0.9948 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003423/1.228, allocations: 209.6 kB / 0.995 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002011/1.228, allocations: 341.9 kB / 0.9953 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006185/1.229, allocations: 359.2 kB / 0.9956 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009069/1.23, allocations: 0.6699 MB / 0.9963 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/1.231, allocations: 0.9546 MB / 0.9972 GB, free: 4.359 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/1.231, allocations: 4 kB / 0.9972 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002029/1.233, allocations: 1.154 MB / 0.9983 GB, free: 3.23 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/1.234, allocations: 8 kB / 0.9984 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/1.234, allocations: 8.062 kB / 0.9984 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/1.234, allocations: 19.98 kB / 0.9984 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009144/1.234, allocations: 213.7 kB / 0.9986 GB, free: 3 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/1.235, allocations: 15.19 kB / 0.9986 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/1.236, allocations: 51.3 kB / 0.9986 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-05/1.236, allocations: 40.33 kB / 0.9987 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001206/1.237, allocations: 0.6854 MB / 0.9994 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009186/1.238, allocations: 0.679 MB / 1 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001364/1.239, allocations: 0.9444 MB / 1.001 GB, free: 404 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/1.239, allocations: 0 / 1.001 GB, free: 404 kB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001997/1.241, allocations: 1.161 MB / 1.002 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.241, allocations: 8 kB / 1.002 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.241, allocations: 4 kB / 1.002 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.242, allocations: 12 kB / 1.002 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008523/1.242, allocations: 212.3 kB / 1.002 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/1.242, allocations: 19.17 kB / 1.002 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/1.244, allocations: 56.2 kB / 1.002 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.027e-05/1.244, allocations: 43.98 kB / 1.002 GB, free: 14.93 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.0003084/1.244, allocations: 247.6 kB / 1.003 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/1.244, allocations: 159 kB / 1.003 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/1.246, allocations: 0.8237 MB / 1.004 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.246, allocations: 8 kB / 1.004 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.246, allocations: 0 / 1.004 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001051/1.247, allocations: 0.7824 MB / 1.004 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/1.251, allocations: 2.287 MB / 1.007 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/1.251, allocations: 4 kB / 1.007 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008365/1.252, allocations: 168.9 kB / 1.007 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/1.252, allocations: 4 kB / 1.007 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/1.252, allocations: 20 kB / 1.007 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/1.252, allocations: 4 kB / 1.007 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.252, allocations: 11.12 kB / 1.007 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/1.254, allocations: 1.313 MB / 1.008 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006258/1.254, allocations: 322.5 kB / 1.008 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/1.255, allocations: 27.98 kB / 1.008 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008456/1.255, allocations: 32.05 kB / 1.008 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.256, allocations: 52.44 kB / 1.009 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.448e-05/1.256, allocations: 27.98 kB / 1.009 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001357/1.257, allocations: 0.9083 MB / 1.009 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.71e-07/1.257, allocations: 0 / 1.009 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002101/1.259, allocations: 0.8495 MB / 1.01 GB, free: 6.773 MB / 0.7169 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.002893/1.262, allocations: 2.024 MB / 1.012 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002427/1.264, allocations: 1.335 MB / 1.014 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.265, allocations: 0 / 1.014 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005192/1.265, allocations: 350.5 kB / 1.014 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/1.269, allocations: 0.835 MB / 1.015 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/1.287, allocations: 10.68 MB / 1.025 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/1.288, allocations: 1.348 MB / 1.026 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001648/1.289, allocations: 420.3 kB / 1.027 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009886/1.29, allocations: 0.6047 MB / 1.027 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of SimCode: time 9.62e-07/1.29, allocations: 0 / 1.027 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0847/1.375, allocations: 41.75 MB / 1.068 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/15.08, allocations: 4.562 kB / 1.068 GB, free: 11.73 MB / 0.7794 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)