Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001007/0.001007, allocations: 102.9 kB / 16.27 MB, free: 5.965 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.001007/0.001007, allocations: 191.5 kB / 17.2 MB, free: 5.594 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.231/1.231, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7124/0.7124, allocations: 122.8 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2853, allocations: 77.93 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002675/0.288, allocations: 2.109 MB / 0.5693 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2892, allocations: 1.023 MB / 0.5703 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.692e-05/0.2893, allocations: 7.062 kB / 0.5704 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.717e-05/0.2894, allocations: 25.55 kB / 0.5704 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.2896, allocations: 84.42 kB / 0.5705 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.29, allocations: 190.1 kB / 0.5706 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.2902, allocations: 298.4 kB / 0.5709 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.2904, allocations: 70.61 kB / 0.571 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.2905, allocations: 105.2 kB / 0.5711 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.2907, allocations: 139.5 kB / 0.5712 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.2907, allocations: 18.12 kB / 0.5712 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.2911, allocations: 296.9 kB / 0.5715 GB, free: 30.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.2912, allocations: 44.69 kB / 0.5716 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.564e-05/0.2913, allocations: 124.8 kB / 0.5717 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.2916, allocations: 324 kB / 0.572 GB, free: 29.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2916, allocations: 1.375 kB / 0.572 GB, free: 29.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2916, allocations: 0 / 0.572 GB, free: 29.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.2916, allocations: 1.281 kB / 0.572 GB, free: 29.78 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008889/0.2925, allocations: 0.6325 MB / 0.5726 GB, free: 29.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.2926, allocations: 10.41 kB / 0.5726 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.2926, allocations: 51.62 kB / 0.5727 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.2928, allocations: 39.02 kB / 0.5727 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.293, allocations: 270.6 kB / 0.573 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2931, allocations: 11.91 kB / 0.573 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.2931, allocations: 14.22 kB / 0.573 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.2936, allocations: 230.7 kB / 0.5732 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.2936, allocations: 1 kB / 0.5732 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.2936, allocations: 6.875 kB / 0.5732 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2936, allocations: 3.531 kB / 0.5732 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006477/0.2943, allocations: 201 kB / 0.5734 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008754/0.2952, allocations: 0.943 MB / 0.5743 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007248/0.2959, allocations: 242.2 kB / 0.5746 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.2962, allocations: 112.9 kB / 0.5747 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.2963, allocations: 6.969 kB / 0.5747 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.2963, allocations: 37.78 kB / 0.5747 GB, free: 27.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.2963, allocations: 3.938 kB / 0.5747 GB, free: 27.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001112/0.2974, allocations: 337.2 kB / 0.575 GB, free: 27.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.2974, allocations: 79.39 kB / 0.5751 GB, free: 27.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.2977, allocations: 264.9 kB / 0.5754 GB, free: 27.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.2977, allocations: 33.22 kB / 0.5754 GB, free: 27.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.2978, allocations: 158 kB / 0.5756 GB, free: 27.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.2978, allocations: 55.23 kB / 0.5756 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.2979, allocations: 41.42 kB / 0.5756 GB, free: 27.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.2979, allocations: 336.2 kB / 0.576 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.2983, allocations: 90.45 kB / 0.5761 GB, free: 26.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.2986, allocations: 141 kB / 0.5762 GB, free: 26.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006398/0.2992, allocations: 246 kB / 0.5764 GB, free: 26.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2993, allocations: 1.938 kB / 0.5764 GB, free: 26.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007901/0.3001, allocations: 298.7 kB / 0.5767 GB, free: 26.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3001, allocations: 5.562 kB / 0.5767 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3001, allocations: 4.125 kB / 0.5767 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3001, allocations: 2.625 kB / 0.5767 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.3004, allocations: 63.28 kB / 0.5768 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3004, allocations: 2.812 kB / 0.5768 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.3006, allocations: 38.47 kB / 0.5768 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.3007, allocations: 11.03 kB / 0.5768 GB, free: 26.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 8.189e-05/0.3008, allocations: 137.6 kB / 0.577 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3009, allocations: 28.72 kB / 0.577 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007808/0.3017, allocations: 295.5 kB / 0.5773 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3017, allocations: 7.938 kB / 0.5773 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3017, allocations: 0 / 0.5773 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3017, allocations: 2.734 kB / 0.5773 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.302, allocations: 294.4 kB / 0.5776 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.302, allocations: 1.672 kB / 0.5776 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.3023, allocations: 50.84 kB / 0.5776 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3023, allocations: 3.719 kB / 0.5776 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3023, allocations: 7.344 kB / 0.5776 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3023, allocations: 1.094 kB / 0.5776 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3023, allocations: 0 / 0.5776 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.3031, allocations: 456.8 kB / 0.5781 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.3031, allocations: 101 kB / 0.5782 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.3032, allocations: 12.39 kB / 0.5782 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.3034, allocations: 28.08 kB / 0.5782 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.3035, allocations: 16.92 kB / 0.5782 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3035, allocations: 5.75 kB / 0.5782 GB, free: 25.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.3036, allocations: 189.8 kB / 0.5784 GB, free: 25.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3036, allocations: 1.906 kB / 0.5784 GB, free: 25.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003377/0.304, allocations: 58.78 kB / 0.5785 GB, free: 25.51 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (20): * Single equations (assignments): 20 * 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.0009503/0.3049, allocations: 0.9842 MB / 0.5794 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007354/0.3057, allocations: 238 kB / 0.5796 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3057, allocations: 0 / 0.5796 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.3061, allocations: 118.1 kB / 0.5798 GB, free: 24.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.3066, allocations: 71.67 kB / 0.5798 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.3099, allocations: 2.715 MB / 0.5825 GB, free: 22.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.31, allocations: 0.7502 MB / 0.5832 GB, free: 21.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.3102, allocations: 36.88 kB / 0.5832 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.3103, allocations: 88.58 kB / 0.5833 GB, free: 21.84 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3103, allocations: 1.094 kB / 0.5833 GB, free: 21.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.3311, allocations: 6.46 MB / 0.5896 GB, free: 18.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.703, allocations: 9.531 kB / 0.5896 GB, free: 18.69 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)