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.008394/0.008394, allocations: 101.1 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.002012/0.002012, allocations: 190.4 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9393/0.9393, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 71.89 kB / 0.5852 GB, free: 3.844 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4421, allocations: 80.91 MB / 0.6642 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7132/1.155, allocations: 274.6 MB / 0.9323 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02205/1.177, allocations: 17.33 MB / 0.9493 GB, free: 16.21 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003597/1.181, allocations: 71.66 kB / 0.9493 GB, free: 16.21 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003686/1.185, allocations: 1.212 MB / 0.9505 GB, free: 16.18 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009316/1.194, allocations: 3.222 MB / 0.9537 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006001/1.2, allocations: 2.229 MB / 0.9558 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00708/1.207, allocations: 4.838 MB / 0.9606 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002854/1.21, allocations: 1.759 MB / 0.9623 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006608/1.217, allocations: 2.495 MB / 0.9647 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00337/1.22, allocations: 1.548 MB / 0.9662 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005224/1.221, allocations: 191.1 kB / 0.9664 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006565/1.227, allocations: 3.033 MB / 0.9694 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001085/1.229, allocations: 0.7167 MB / 0.9701 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001976/1.23, allocations: 1.114 MB / 0.9712 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006961/1.237, allocations: 3.835 MB / 0.9749 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/1.238, allocations: 0 / 0.9749 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.144e-06/1.238, allocations: 0 / 0.9749 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.863e-05/1.238, allocations: 0 / 0.9749 GB, free: 9.68 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.003963/1.242, allocations: 2.423 MB / 0.9773 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.242, allocations: 11.09 kB / 0.9773 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002066/1.242, allocations: 197.5 kB / 0.9775 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004199/1.246, allocations: 0.6347 MB / 0.9781 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/1.248, allocations: 1.406 MB / 0.9795 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.377e-05/1.249, allocations: 101.4 kB / 0.9796 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/1.249, allocations: 146.6 kB / 0.9797 GB, free: 6.41 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/1.251, allocations: 1.559 MB / 0.9812 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/1.251, allocations: 6.531 kB / 0.9812 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/1.251, allocations: 59.98 kB / 0.9813 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-05/1.251, allocations: 50.45 kB / 0.9813 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/1.253, allocations: 1.261 MB / 0.9826 GB, free: 3.949 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.008544/1.262, allocations: 7.189 MB / 0.9896 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/1.263, allocations: 0.6514 MB / 0.9902 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/1.263, allocations: 367 kB / 0.9906 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/1.264, allocations: 107.8 kB / 0.9907 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/1.264, allocations: 51.05 kB / 0.9907 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007378/1.264, allocations: 101.1 kB / 0.9908 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=67): time 3.236e-06/1.264, allocations: 0 / 0.9908 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of matching and sorting (n=67): time 0.001955/1.266, allocations: 1.007 MB / 0.9918 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/1.266, allocations: 59.97 kB / 0.9919 GB, free: 9.945 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/1.268, allocations: 1.339 MB / 0.9932 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.607e-05/1.268, allocations: 45.7 kB / 0.9932 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005864/1.269, allocations: 0.7832 MB / 0.994 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/1.269, allocations: 234.7 kB / 0.9942 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/1.269, allocations: 202.4 kB / 0.9944 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.27, allocations: 349.9 kB / 0.9947 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005381/1.27, allocations: 355.6 kB / 0.9951 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007684/1.271, allocations: 0.6738 MB / 0.9957 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/1.272, allocations: 0.9506 MB / 0.9966 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.272, allocations: 3.938 kB / 0.9967 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001854/1.274, allocations: 1.153 MB / 0.9978 GB, free: 3.688 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/1.274, allocations: 10.03 kB / 0.9978 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.274, allocations: 8 kB / 0.9978 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/1.274, allocations: 12.78 kB / 0.9978 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008866/1.275, allocations: 212.6 kB / 0.998 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.281e-05/1.275, allocations: 17.14 kB / 0.998 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/1.276, allocations: 47.97 kB / 0.9981 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-05/1.276, allocations: 40 kB / 0.9981 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00109/1.278, allocations: 0.6815 MB / 0.9988 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007774/1.278, allocations: 0.6763 MB / 0.9994 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001216/1.28, allocations: 0.9507 MB / 1 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.522e-06/1.28, allocations: 4 kB / 1 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.0019/1.282, allocations: 1.145 MB / 1.001 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.282, allocations: 16.12 kB / 1.002 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.282, allocations: 8 kB / 1.002 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/1.282, allocations: 12 kB / 1.002 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008433/1.282, allocations: 203.1 kB / 1.002 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/1.282, allocations: 18.61 kB / 1.002 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/1.284, allocations: 56.91 kB / 1.002 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/1.284, allocations: 36 kB / 1.002 GB, free: 15.42 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.0003163/1.284, allocations: 251.5 kB / 1.002 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004026/1.285, allocations: 158.1 kB / 1.002 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/1.286, allocations: 0.8085 MB / 1.003 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/1.286, allocations: 8 kB / 1.003 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.286, allocations: 0 / 1.003 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009845/1.287, allocations: 0.7887 MB / 1.004 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/1.291, allocations: 2.293 MB / 1.006 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/1.291, allocations: 0 / 1.006 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008568/1.292, allocations: 175.7 kB / 1.006 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/1.292, allocations: 4 kB / 1.006 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/1.292, allocations: 19.98 kB / 1.006 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/1.292, allocations: 4 kB / 1.006 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.292, allocations: 0 / 1.006 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/1.294, allocations: 1.314 MB / 1.007 GB, free: 9.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007275/1.295, allocations: 317.9 kB / 1.008 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003223/1.295, allocations: 16 kB / 1.008 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/1.296, allocations: 47.8 kB / 1.008 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/1.296, allocations: 44.44 kB / 1.008 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-05/1.297, allocations: 35.98 kB / 1.008 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001484/1.298, allocations: 0.9083 MB / 1.009 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.298, allocations: 0 / 1.009 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002736/1.301, allocations: 0.8379 MB / 1.01 GB, free: 7.273 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.002775/1.304, allocations: 2.017 MB / 1.012 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002323/1.306, allocations: 1.324 MB / 1.013 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.306, allocations: 4 kB / 1.013 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000481/1.306, allocations: 346.8 kB / 1.013 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004099/1.311, allocations: 0.8452 MB / 1.014 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/1.327, allocations: 10.63 MB / 1.024 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/1.328, allocations: 1.344 MB / 1.026 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001609/1.33, allocations: 416.2 kB / 1.026 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008637/1.331, allocations: 0.6164 MB / 1.027 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of SimCode: time 1.112e-06/1.331, allocations: 0 / 1.027 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08205/1.413, allocations: 41.75 MB / 1.068 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/15.08, allocations: 6.094 kB / 1.068 GB, free: 12.29 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)