Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildSysPro_BuildSysPro_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.001023/0.001022, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009428/0.0009428, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 239.9 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9959/0.9959, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003584, allocations: 12 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1895, allocations: 83.42 MB / 0.5974 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002355/0.1919, allocations: 1.72 MB / 0.599 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1939, allocations: 0.9753 MB / 0.6 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.1941, allocations: 7.938 kB / 0.6 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.882e-05/0.1942, allocations: 11.86 kB / 0.6 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.1946, allocations: 87.7 kB / 0.6001 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.195, allocations: 139.7 kB / 0.6002 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.1953, allocations: 179.6 kB / 0.6004 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.1956, allocations: 48.7 kB / 0.6004 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.1957, allocations: 95.56 kB / 0.6005 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.196, allocations: 123.5 kB / 0.6007 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.1961, allocations: 8 kB / 0.6007 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.1965, allocations: 271.6 kB / 0.6009 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.1966, allocations: 35.83 kB / 0.601 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.934e-05/0.1966, allocations: 61.58 kB / 0.601 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.1969, allocations: 231.6 kB / 0.6012 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1969, allocations: 0 / 0.6012 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.546e-06/0.197, allocations: 0 / 0.6012 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.197, allocations: 3.938 kB / 0.6012 GB, free: 3.707 MB / 0.4981 GB 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.001114/0.1981, allocations: 0.6139 MB / 0.6018 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1981, allocations: 12.03 kB / 0.6019 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.624e-05/0.1982, allocations: 50.5 kB / 0.6019 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.1984, allocations: 39.61 kB / 0.6019 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.1988, allocations: 262.5 kB / 0.6022 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1988, allocations: 16.28 kB / 0.6022 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.1989, allocations: 12 kB / 0.6022 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.1995, allocations: 249.2 kB / 0.6025 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1995, allocations: 7.938 kB / 0.6025 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1995, allocations: 4 kB / 0.6025 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.1995, allocations: 7.953 kB / 0.6025 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006961/0.2002, allocations: 235.8 kB / 0.6027 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.2015, allocations: 0.9462 MB / 0.6036 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007994/0.2023, allocations: 269.2 kB / 0.6039 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.2023, allocations: 4 kB / 0.6039 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.2024, allocations: 30.56 kB / 0.6039 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.2024, allocations: 4 kB / 0.6039 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001234/0.2036, allocations: 401.3 kB / 0.6043 GB, free: 364 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.2037, allocations: 85.05 kB / 0.6044 GB, free: 260 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3858/0.5895, allocations: 262.8 kB / 0.6046 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.5896, allocations: 29.92 kB / 0.6047 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.5897, allocations: 161.5 kB / 0.6048 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.5898, allocations: 56.91 kB / 0.6049 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.5898, allocations: 3.25 kB / 0.6049 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.855e-05/0.5899, allocations: 336.9 kB / 0.6052 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.5903, allocations: 110.1 kB / 0.6053 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.5907, allocations: 165.3 kB / 0.6055 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.591, allocations: 127.2 kB / 0.6056 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.591, allocations: 0 / 0.6056 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008287/0.5919, allocations: 329.1 kB / 0.6059 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5919, allocations: 6.906 kB / 0.6059 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.5919, allocations: 2.656 kB / 0.6059 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.5919, allocations: 6.094 kB / 0.6059 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.5922, allocations: 76.11 kB / 0.606 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.5922, allocations: 2.562 kB / 0.606 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.5925, allocations: 55.7 kB / 0.606 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.5925, allocations: 10.22 kB / 0.606 GB, free: 40.38 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.79e-05/0.5926, allocations: 132.7 kB / 0.6062 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.5927, allocations: 25.81 kB / 0.6062 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007883/0.5935, allocations: 336.9 kB / 0.6065 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.5935, allocations: 3 kB / 0.6065 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5936, allocations: 0 / 0.6065 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5936, allocations: 0 / 0.6065 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.5939, allocations: 300.2 kB / 0.6068 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5939, allocations: 0.5 kB / 0.6068 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.5941, allocations: 68.64 kB / 0.6069 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.5942, allocations: 0 / 0.6069 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.5942, allocations: 7.156 kB / 0.6069 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.5942, allocations: 0 / 0.6069 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5942, allocations: 3.438 kB / 0.6069 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007677/0.595, allocations: 0.4895 MB / 0.6074 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.595, allocations: 101.7 kB / 0.6075 GB, free: 39.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.5951, allocations: 6.766 kB / 0.6075 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.5954, allocations: 39.27 kB / 0.6075 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.5955, allocations: 24.58 kB / 0.6075 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.5955, allocations: 7.031 kB / 0.6075 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001357/0.5956, allocations: 187.5 kB / 0.6077 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5956, allocations: 0 / 0.6077 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003497/0.596, allocations: 56.16 kB / 0.6078 GB, free: 39.58 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.597, allocations: 1.12 MB / 0.6089 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000705/0.5977, allocations: 264.1 kB / 0.6091 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5977, allocations: 2.594 kB / 0.6091 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.5981, allocations: 138.5 kB / 0.6092 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.5985, allocations: 71.16 kB / 0.6093 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.5996, allocations: 1.67 MB / 0.6109 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.5998, allocations: 0.7597 MB / 0.6117 GB, free: 36.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.6, allocations: 31.44 kB / 0.6117 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.6001, allocations: 82.8 kB / 0.6118 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.6001, allocations: 0 / 0.6118 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.6164, allocations: 5.774 MB / 0.6174 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/0.6166, allocations: 206.7 kB / 0.6176 GB, free: 35.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.444, allocations: 2.656 kB / 0.6176 GB, free: 35.96 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) Environment - environmentSimulation: