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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001275/0.001275, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001033/0.001033, allocations: 199.6 kB / 16.26 MB, free: 6.625 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.295/1.295, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.94/0.94, allocations: 143 MB / 433.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.91 kB / 0.5138 GB, free: 11.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1668, allocations: 82.04 MB / 0.5939 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003481/0.1703, allocations: 2.171 MB / 0.596 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1721, allocations: 1.025 MB / 0.597 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.1723, allocations: 4 kB / 0.597 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.761e-05/0.1724, allocations: 15.8 kB / 0.5971 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.1728, allocations: 71.41 kB / 0.5971 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.1733, allocations: 169.4 kB / 0.5973 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.1736, allocations: 294.8 kB / 0.5976 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.1738, allocations: 60.98 kB / 0.5976 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.174, allocations: 107.5 kB / 0.5977 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.1742, allocations: 143.4 kB / 0.5979 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.1742, allocations: 19.94 kB / 0.5979 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.1746, allocations: 307.6 kB / 0.5982 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.1747, allocations: 43.83 kB / 0.5982 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.249e-05/0.1748, allocations: 119.3 kB / 0.5983 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.1751, allocations: 338.8 kB / 0.5987 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1751, allocations: 0 / 0.5987 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1751, allocations: 0 / 0.5987 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.1751, allocations: 0 / 0.5987 GB, free: 4.969 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.0009929/0.1761, allocations: 0.6232 MB / 0.5993 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1762, allocations: 8.031 kB / 0.5993 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.073e-05/0.1763, allocations: 54.73 kB / 0.5993 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.1764, allocations: 40.55 kB / 0.5994 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.1767, allocations: 271.5 kB / 0.5996 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1768, allocations: 8.656 kB / 0.5996 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.1768, allocations: 20.38 kB / 0.5996 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.1773, allocations: 241.2 kB / 0.5999 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1773, allocations: 0 / 0.5999 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1773, allocations: 7.938 kB / 0.5999 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1773, allocations: 4 kB / 0.5999 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005912/0.1779, allocations: 199.8 kB / 0.6001 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.179, allocations: 0.9345 MB / 0.601 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/0.1797, allocations: 249.2 kB / 0.6012 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.18, allocations: 105.6 kB / 0.6013 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.18, allocations: 0 / 0.6013 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.18, allocations: 34.56 kB / 0.6014 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.041e-06/0.1801, allocations: 7.938 kB / 0.6014 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001051/0.1811, allocations: 333.5 kB / 0.6017 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.1812, allocations: 85.05 kB / 0.6018 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.1814, allocations: 270.9 kB / 0.602 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.1814, allocations: 29.7 kB / 0.6021 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/0.1815, allocations: 156.2 kB / 0.6022 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.1816, allocations: 55.2 kB / 0.6023 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-05/0.1817, allocations: 37.7 kB / 0.6023 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1818, allocations: 342.8 kB / 0.6026 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.1821, allocations: 87.91 kB / 0.6027 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.1824, allocations: 142.9 kB / 0.6028 GB, free: 392 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005872/0.183, allocations: 249.7 kB / 0.6031 GB, free: 120 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.183, allocations: 0 / 0.6031 GB, free: 120 kB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.2561/0.4391, allocations: 285.7 kB / 0.6033 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.4392, allocations: 6.734 kB / 0.6034 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4392, allocations: 2.344 kB / 0.6034 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.4392, allocations: 6.422 kB / 0.6034 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.4396, allocations: 64.25 kB / 0.6034 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.4396, allocations: 2.953 kB / 0.6034 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.4399, allocations: 41.95 kB / 0.6035 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.4399, allocations: 11.12 kB / 0.6035 GB, free: 43.95 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.44, allocations: 133.1 kB / 0.6036 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.4401, allocations: 27.09 kB / 0.6036 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007285/0.4409, allocations: 289.5 kB / 0.6039 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.4409, allocations: 2.594 kB / 0.6039 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4409, allocations: 3.594 kB / 0.6039 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4409, allocations: 3.141 kB / 0.6039 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.4412, allocations: 291.2 kB / 0.6042 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4413, allocations: 3.578 kB / 0.6042 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.4415, allocations: 57.94 kB / 0.6043 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4415, allocations: 0.625 kB / 0.6043 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.4415, allocations: 7.281 kB / 0.6043 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4415, allocations: 0.6562 kB / 0.6043 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4415, allocations: 5.609 kB / 0.6043 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006801/0.4422, allocations: 439.9 kB / 0.6047 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.4423, allocations: 111.1 kB / 0.6048 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.4423, allocations: 7.891 kB / 0.6048 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.4426, allocations: 26.45 kB / 0.6048 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/0.4427, allocations: 19.5 kB / 0.6048 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.4427, allocations: 9.625 kB / 0.6049 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001258/0.4428, allocations: 187.9 kB / 0.605 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4428, allocations: 0 / 0.605 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003364/0.4432, allocations: 57.78 kB / 0.6051 GB, free: 43.22 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 (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.0009129/0.4441, allocations: 0.996 MB / 0.6061 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006505/0.4447, allocations: 232.2 kB / 0.6063 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4447, allocations: 0 / 0.6063 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.445, allocations: 125 kB / 0.6064 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/0.4456, allocations: 81.28 kB / 0.6065 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.4487, allocations: 2.778 MB / 0.6092 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.4489, allocations: 0.7497 MB / 0.6099 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000148/0.449, allocations: 33.25 kB / 0.61 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.4492, allocations: 81.33 kB / 0.61 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4492, allocations: 0 / 0.61 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06992/0.5191, allocations: 6.198 MB / 0.6161 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/0.5193, allocations: 215.9 kB / 0.6163 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.148, allocations: 4.812 kB / 0.6163 GB, free: 39.54 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/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)