Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",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.001265/0.001271, allocations: 102 kB / 16.27 MB, free: 5.961 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.001234/0.001234, allocations: 190.7 kB / 17.2 MB, free: 5.59 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.372/1.372, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7892/0.7892, allocations: 126.7 MB / 417.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 68.34 kB / 0.4959 GB, free: 2.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3566, allocations: 78.87 MB / 0.5729 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.00312/0.3598, allocations: 2.177 MB / 0.575 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.3618, allocations: 1.359 MB / 0.5763 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.3619, allocations: 1.375 kB / 0.5763 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006121/0.3625, allocations: 255.5 kB / 0.5766 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009808/0.3635, allocations: 432 kB / 0.577 GB, free: 28.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.677e-06/0.3635, allocations: 0 / 0.577 GB, free: 28.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.3639, allocations: 394.4 kB / 0.5774 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.959e-05/0.364, allocations: 21.92 kB / 0.5774 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.3641, allocations: 146.1 kB / 0.5775 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.3643, allocations: 196.7 kB / 0.5777 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.3644, allocations: 21.81 kB / 0.5777 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004571/0.3648, allocations: 268.2 kB / 0.578 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.3651, allocations: 375.8 kB / 0.5783 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.3654, allocations: 413.9 kB / 0.5787 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008115/0.3662, allocations: 1.144 MB / 0.5799 GB, free: 26.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3662, allocations: 0 / 0.5799 GB, free: 26.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3662, allocations: 1.125 kB / 0.5799 GB, free: 26.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3662, allocations: 0 / 0.5799 GB, free: 26.45 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001279/0.3675, allocations: 1.223 MB / 0.581 GB, free: 25.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3676, allocations: 15.56 kB / 0.5811 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/0.3676, allocations: 47.77 kB / 0.5811 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006204/0.3682, allocations: 143.5 kB / 0.5812 GB, free: 25.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003348/0.3716, allocations: 4.274 MB / 0.5854 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.3716, allocations: 11.03 kB / 0.5854 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.3717, allocations: 17.56 kB / 0.5854 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.3724, allocations: 0.6315 MB / 0.5861 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3724, allocations: 6 kB / 0.5861 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.3725, allocations: 5.281 kB / 0.5861 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.3725, allocations: 4.5 kB / 0.5861 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.3736, allocations: 1.117 MB / 0.5872 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/0.3763, allocations: 3.143 MB / 0.5902 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.3769, allocations: 353.2 kB / 0.5906 GB, free: 19.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.3772, allocations: 230.2 kB / 0.5908 GB, free: 19.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.3773, allocations: 29.88 kB / 0.5908 GB, free: 19.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.3773, allocations: 34.5 kB / 0.5909 GB, free: 19.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.834e-06/0.3773, allocations: 0 / 0.5909 GB, free: 19.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001002/0.3783, allocations: 0.7196 MB / 0.5916 GB, free: 18.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.3784, allocations: 56.47 kB / 0.5916 GB, free: 18.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00486/0.3832, allocations: 6.497 MB / 0.598 GB, free: 11.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.3833, allocations: 30.33 kB / 0.598 GB, free: 11.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.3835, allocations: 412.9 kB / 0.5984 GB, free: 11.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.3836, allocations: 67.02 kB / 0.5984 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.285e-05/0.3837, allocations: 58.28 kB / 0.5985 GB, free: 11.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.3837, allocations: 315.9 kB / 0.5988 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.3842, allocations: 0.5309 MB / 0.5993 GB, free: 10.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.3846, allocations: 0.5547 MB / 0.5999 GB, free: 9.855 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006969/0.3853, allocations: 0.7693 MB / 0.6006 GB, free: 9.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3853, allocations: 3.938 kB / 0.6006 GB, free: 9.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00112/0.3865, allocations: 1.225 MB / 0.6018 GB, free: 7.848 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3865, allocations: 8 kB / 0.6018 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3865, allocations: 0.8125 kB / 0.6018 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3865, allocations: 0 / 0.6018 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.3869, allocations: 69.14 kB / 0.6019 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3869, allocations: 4 kB / 0.6019 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.3873, allocations: 48.94 kB / 0.6019 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.3874, allocations: 8 kB / 0.6019 GB, free: 7.715 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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 prepare postOptimizeDAE: time 0.0002626/0.3876, allocations: 286.8 kB / 0.6022 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.3878, allocations: 96.25 kB / 0.6023 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007312/0.3885, allocations: 0.555 MB / 0.6029 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3885, allocations: 4 kB / 0.6029 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3885, allocations: 0.875 kB / 0.6029 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3885, allocations: 0 / 0.6029 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.3908, allocations: 2.812 MB / 0.6056 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3908, allocations: 8 kB / 0.6056 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.3911, allocations: 52.92 kB / 0.6057 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3911, allocations: 4 kB / 0.6057 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.3911, allocations: 12.91 kB / 0.6057 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.3911, allocations: 4 kB / 0.6057 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3911, allocations: 13.56 kB / 0.6057 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.3919, allocations: 0.6806 MB / 0.6064 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.3921, allocations: 251.8 kB / 0.6066 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.3922, allocations: 15.98 kB / 0.6066 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.3926, allocations: 19.98 kB / 0.6066 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.3926, allocations: 31.36 kB / 0.6067 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.3927, allocations: 19.98 kB / 0.6067 GB, free: 2.672 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004138/0.3968, allocations: 5.149 MB / 0.6117 GB, free: 13.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3968, allocations: 0 / 0.6117 GB, free: 13.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007957/0.3976, allocations: 188.7 kB / 0.6119 GB, free: 13.32 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (19): * Single equations (assignments): 19 * 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.001549/0.3992, allocations: 1.294 MB / 0.6132 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.4004, allocations: 0.78 MB / 0.6139 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4004, allocations: 3.938 kB / 0.6139 GB, free: 11.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.4008, allocations: 229.2 kB / 0.6141 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009592/0.4018, allocations: 193.4 kB / 0.6143 GB, free: 10.76 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02588/0.4277, allocations: 23.33 MB / 0.6371 GB, free: 3.094 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.4284, allocations: 1.007 MB / 0.6381 GB, free: 2.059 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004415/0.4288, allocations: 145.4 kB / 0.6382 GB, free: 1.914 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/0.4293, allocations: 299.3 kB / 0.6385 GB, free: 1.621 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4293, allocations: 0 / 0.6385 GB, free: 1.621 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05637/0.4856, allocations: 23.35 MB / 0.6613 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.608, allocations: 7.875 kB / 0.6613 GB, free: 10.54 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1)