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.005361/0.005361, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001133/0.001133, allocations: 186.3 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9629/0.9629, allocations: 135.1 MB / 425.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.91 kB / 0.5851 GB, free: 3.809 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4395, allocations: 80.92 MB / 0.6642 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7133/1.153, allocations: 274.6 MB / 0.9323 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02118/1.174, allocations: 17.34 MB / 0.9493 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003428/1.178, allocations: 70.91 kB / 0.9493 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003483/1.181, allocations: 1.171 MB / 0.9505 GB, free: 16.17 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008643/1.19, allocations: 3.086 MB / 0.9535 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005842/1.196, allocations: 2.213 MB / 0.9556 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007424/1.203, allocations: 4.835 MB / 0.9604 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002932/1.206, allocations: 1.759 MB / 0.9621 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00686/1.213, allocations: 2.45 MB / 0.9645 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004171/1.217, allocations: 1.535 MB / 0.966 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007358/1.218, allocations: 196.3 kB / 0.9662 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007287/1.225, allocations: 3.012 MB / 0.9691 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001394/1.227, allocations: 0.7256 MB / 0.9698 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002473/1.229, allocations: 1.122 MB / 0.9709 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007694/1.237, allocations: 3.826 MB / 0.9746 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.237, allocations: 0 / 0.9746 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.755e-06/1.237, allocations: 3.984 kB / 0.9746 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.216e-05/1.237, allocations: 0 / 0.9746 GB, free: 9.793 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.004867/1.242, allocations: 2.417 MB / 0.977 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.242, allocations: 8.531 kB / 0.977 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002966/1.242, allocations: 199.4 kB / 0.9772 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004511/1.247, allocations: 0.6371 MB / 0.9778 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002914/1.25, allocations: 1.406 MB / 0.9792 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-05/1.25, allocations: 108 kB / 0.9793 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003368/1.25, allocations: 140.7 kB / 0.9794 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/1.253, allocations: 1.561 MB / 0.981 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/1.253, allocations: 2.531 kB / 0.981 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/1.253, allocations: 56 kB / 0.981 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.214e-05/1.253, allocations: 50.44 kB / 0.9811 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/1.255, allocations: 1.265 MB / 0.9823 GB, free: 4.141 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.01049/1.266, allocations: 7.192 MB / 0.9893 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/1.267, allocations: 0.6501 MB / 0.99 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000518/1.267, allocations: 374.9 kB / 0.9903 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/1.268, allocations: 105.2 kB / 0.9904 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/1.268, allocations: 43.12 kB / 0.9905 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008462/1.268, allocations: 99.11 kB / 0.9906 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=67): time 4.428e-06/1.268, allocations: 0 / 0.9906 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of matching and sorting (n=67): time 0.002127/1.271, allocations: 1.015 MB / 0.9915 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/1.271, allocations: 55.97 kB / 0.9916 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/1.273, allocations: 1.343 MB / 0.9929 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000169/1.273, allocations: 46.03 kB / 0.993 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005917/1.273, allocations: 0.7727 MB / 0.9937 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/1.274, allocations: 242.2 kB / 0.9939 GB, free: 7.727 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/1.274, allocations: 205 kB / 0.9941 GB, free: 7.52 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.274, allocations: 345.9 kB / 0.9945 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/1.275, allocations: 355.2 kB / 0.9948 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007698/1.276, allocations: 0.6739 MB / 0.9955 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/1.277, allocations: 0.9545 MB / 0.9964 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.277, allocations: 0 / 0.9964 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001953/1.279, allocations: 1.161 MB / 0.9975 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.279, allocations: 8 kB / 0.9975 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.279, allocations: 11.94 kB / 0.9975 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/1.279, allocations: 12 kB / 0.9976 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008915/1.28, allocations: 207.2 kB / 0.9978 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/1.28, allocations: 18.52 kB / 0.9978 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/1.281, allocations: 45.48 kB / 0.9978 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-05/1.281, allocations: 40.08 kB / 0.9979 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00117/1.283, allocations: 0.6854 MB / 0.9985 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007869/1.283, allocations: 0.6762 MB / 0.9992 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001262/1.285, allocations: 0.9468 MB / 1 GB, free: 1.047 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.825e-06/1.285, allocations: 7.984 kB / 1 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001954/1.287, allocations: 1.147 MB / 1.001 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.287, allocations: 8 kB / 1.001 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/1.287, allocations: 8 kB / 1.001 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/1.287, allocations: 12 kB / 1.001 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008469/1.288, allocations: 207.8 kB / 1.001 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/1.288, allocations: 14.53 kB / 1.001 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.289, allocations: 65.34 kB / 1.002 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/1.289, allocations: 36 kB / 1.002 GB, free: 15.6 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.0003073/1.289, allocations: 247.4 kB / 1.002 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/1.29, allocations: 150.1 kB / 1.002 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/1.291, allocations: 0.8241 MB / 1.003 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.291, allocations: 10.53 kB / 1.003 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/1.291, allocations: 0 / 1.003 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009386/1.292, allocations: 0.7863 MB / 1.004 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/1.296, allocations: 2.292 MB / 1.006 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.296, allocations: 0 / 1.006 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008577/1.297, allocations: 171.6 kB / 1.006 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/1.297, allocations: 4 kB / 1.006 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.705e-05/1.297, allocations: 23.98 kB / 1.006 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/1.297, allocations: 4.188 kB / 1.006 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.297, allocations: 7.938 kB / 1.006 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/1.299, allocations: 1.309 MB / 1.007 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007617/1.3, allocations: 315.3 kB / 1.008 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/1.3, allocations: 16 kB / 1.008 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008963/1.301, allocations: 40 kB / 1.008 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/1.301, allocations: 48.44 kB / 1.008 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.301e-05/1.301, allocations: 31.98 kB / 1.008 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001263/1.302, allocations: 0.9044 MB / 1.009 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.302, allocations: 0 / 1.009 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002154/1.304, allocations: 0.8418 MB / 1.009 GB, free: 7.461 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.002594/1.307, allocations: 2.016 MB / 1.011 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002285/1.309, allocations: 1.326 MB / 1.013 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.309, allocations: 0 / 1.013 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004883/1.31, allocations: 347.9 kB / 1.013 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004178/1.314, allocations: 0.8495 MB / 1.014 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/1.33, allocations: 10.62 MB / 1.024 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009626/1.331, allocations: 1.344 MB / 1.025 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001872/1.333, allocations: 416.3 kB / 1.026 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00098/1.334, allocations: 0.6111 MB / 1.026 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of SimCode: time 1.243e-06/1.334, allocations: 0 / 1.026 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/1.452, allocations: 42.41 MB / 1.068 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/15.37, allocations: 10.56 kB / 1.068 GB, free: 11.82 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)