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.001466/0.001466, allocations: 92 kB / 15.06 MB, free: 1.098 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.001869/0.001869, allocations: 172.7 kB / 15.95 MB, free: 208 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.304/1.304, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9793/0.9793, allocations: 143.4 MB / 434.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003792, allocations: 8 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2151, allocations: 83.41 MB / 0.5975 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002487/0.2177, allocations: 1.759 MB / 0.5993 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.2193, allocations: 0.979 MB / 0.6002 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.2195, allocations: 7.938 kB / 0.6002 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.846e-05/0.2195, allocations: 11.86 kB / 0.6002 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.2199, allocations: 71.41 kB / 0.6003 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.2204, allocations: 135.7 kB / 0.6004 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.2208, allocations: 262.8 kB / 0.6007 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.2211, allocations: 52.7 kB / 0.6007 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.2212, allocations: 91.56 kB / 0.6008 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.2215, allocations: 123.5 kB / 0.6009 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.2216, allocations: 8 kB / 0.6009 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005626/0.2222, allocations: 275.7 kB / 0.6012 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.2222, allocations: 35.83 kB / 0.6012 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.172e-05/0.2223, allocations: 65.52 kB / 0.6013 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004776/0.2228, allocations: 231.7 kB / 0.6015 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2228, allocations: 0 / 0.6015 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2228, allocations: 4 kB / 0.6015 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.2228, allocations: 0 / 0.6015 GB, free: 3.574 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.001328/0.2242, allocations: 0.6077 MB / 0.6021 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.2242, allocations: 8.031 kB / 0.6021 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.973e-05/0.2243, allocations: 50.55 kB / 0.6022 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003579/0.2247, allocations: 39.56 kB / 0.6022 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.2251, allocations: 266.5 kB / 0.6025 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.2251, allocations: 8.281 kB / 0.6025 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.2252, allocations: 16 kB / 0.6025 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.2259, allocations: 257 kB / 0.6027 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.2259, allocations: 4 kB / 0.6027 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.226, allocations: 4 kB / 0.6027 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.226, allocations: 7.953 kB / 0.6028 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.2271, allocations: 243.8 kB / 0.603 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.2288, allocations: 0.9501 MB / 0.6039 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.2299, allocations: 265.2 kB / 0.6042 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/0.2303, allocations: 129.6 kB / 0.6043 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.2304, allocations: 0 / 0.6043 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.2305, allocations: 42.5 kB / 0.6043 GB, free: 492 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.2305, allocations: 0 / 0.6043 GB, free: 492 kB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001621/0.2321, allocations: 405.3 kB / 0.6047 GB, free: 80 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3364/0.5685, allocations: 81.11 kB / 0.6048 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.5689, allocations: 257.4 kB / 0.605 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.569, allocations: 31.73 kB / 0.6051 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.5691, allocations: 164.6 kB / 0.6052 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.5691, allocations: 53.95 kB / 0.6053 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.5691, allocations: 1.281 kB / 0.6053 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.77e-05/0.5692, allocations: 340.1 kB / 0.6056 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.5696, allocations: 113.6 kB / 0.6057 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.5699, allocations: 161 kB / 0.6059 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.5702, allocations: 124.8 kB / 0.606 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5702, allocations: 0 / 0.606 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000771/0.5709, allocations: 332.9 kB / 0.6063 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.571, allocations: 9.156 kB / 0.6063 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.571, allocations: 3.094 kB / 0.6063 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.571, allocations: 0 / 0.6063 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.5713, allocations: 74.53 kB / 0.6064 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.5713, allocations: 3.625 kB / 0.6064 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.5715, allocations: 49.73 kB / 0.6064 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.5715, allocations: 11.84 kB / 0.6064 GB, free: 40.04 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.425e-05/0.5716, allocations: 139.6 kB / 0.6066 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.5717, allocations: 23.47 kB / 0.6066 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006864/0.5724, allocations: 332.9 kB / 0.6069 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5725, allocations: 5 kB / 0.6069 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5725, allocations: 0.5 kB / 0.6069 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5725, allocations: 7.984 kB / 0.6069 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.5728, allocations: 298.6 kB / 0.6072 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5728, allocations: 0.5 kB / 0.6072 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.573, allocations: 75.2 kB / 0.6073 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.573, allocations: 2.812 kB / 0.6073 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.573, allocations: 0.5625 kB / 0.6073 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.5731, allocations: 3.578 kB / 0.6073 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5731, allocations: 0 / 0.6073 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006693/0.5737, allocations: 489.3 kB / 0.6078 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.5738, allocations: 104 kB / 0.6079 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.5738, allocations: 11.77 kB / 0.6079 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.5741, allocations: 36.67 kB / 0.6079 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.5741, allocations: 24.48 kB / 0.6079 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.5741, allocations: 3 kB / 0.6079 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001295/0.5743, allocations: 189.3 kB / 0.6081 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5743, allocations: 0 / 0.6081 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003299/0.5746, allocations: 57.97 kB / 0.6082 GB, free: 39.25 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.0008884/0.5755, allocations: 1.029 MB / 0.6092 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006121/0.5761, allocations: 272.5 kB / 0.6094 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5762, allocations: 0 / 0.6094 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.5765, allocations: 141.6 kB / 0.6096 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.577, allocations: 69.98 kB / 0.6096 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.5792, allocations: 1.557 MB / 0.6112 GB, free: 37.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.5794, allocations: 0.7513 MB / 0.6119 GB, free: 37.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00015/0.5795, allocations: 37.92 kB / 0.6119 GB, free: 37.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.5796, allocations: 85.69 kB / 0.612 GB, free: 37.11 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.5796, allocations: 0.8438 kB / 0.612 GB, free: 37.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.604, allocations: 5.848 MB / 0.6177 GB, free: 36.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.6042, allocations: 212.3 kB / 0.6179 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.387, allocations: 3.625 kB / 0.6179 GB, free: 36.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/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: