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.001074/0.001074, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 195 kB / 16.53 MB, free: 6.664 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.9224/0.9224, allocations: 143.1 MB / 433.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 71.88 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1334, allocations: 82.03 MB / 0.5944 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00303/0.1365, allocations: 2.132 MB / 0.5965 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.138, allocations: 1.025 MB / 0.5975 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.1381, allocations: 4 kB / 0.5975 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.695e-05/0.1382, allocations: 23.67 kB / 0.5975 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.1385, allocations: 87.22 kB / 0.5976 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.1389, allocations: 187.6 kB / 0.5978 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.1392, allocations: 294.8 kB / 0.598 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1393, allocations: 60.98 kB / 0.5981 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1395, allocations: 115.5 kB / 0.5982 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1397, allocations: 139.4 kB / 0.5983 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.1397, allocations: 16 kB / 0.5984 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00038/0.1401, allocations: 299.6 kB / 0.5986 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.1402, allocations: 43.83 kB / 0.5987 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1403, allocations: 127.2 kB / 0.5988 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.1406, allocations: 334.8 kB / 0.5991 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1406, allocations: 0 / 0.5991 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1406, allocations: 0 / 0.5991 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.1406, allocations: 0 / 0.5991 GB, free: 4.602 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.0009713/0.1416, allocations: 0.6232 MB / 0.5997 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1417, allocations: 8.031 kB / 0.5997 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.978e-05/0.1417, allocations: 50.73 kB / 0.5998 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.1419, allocations: 32.56 kB / 0.5998 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1422, allocations: 287.5 kB / 0.6001 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1422, allocations: 12.64 kB / 0.6001 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1423, allocations: 16.38 kB / 0.6001 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.1427, allocations: 237.2 kB / 0.6004 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1428, allocations: 0 / 0.6004 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.1428, allocations: 7.938 kB / 0.6004 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1428, allocations: 4 kB / 0.6004 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006323/0.1434, allocations: 199.8 kB / 0.6006 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.1445, allocations: 0.9423 MB / 0.6015 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007149/0.1452, allocations: 237.2 kB / 0.6017 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.1455, allocations: 113.6 kB / 0.6018 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1455, allocations: 0 / 0.6018 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.1456, allocations: 38.56 kB / 0.6018 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.1456, allocations: 0 / 0.6018 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001094/0.1467, allocations: 333.4 kB / 0.6022 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1467, allocations: 81.11 kB / 0.6022 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.147, allocations: 270.9 kB / 0.6025 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.147, allocations: 33.7 kB / 0.6025 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.1471, allocations: 156.2 kB / 0.6027 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.1471, allocations: 59.17 kB / 0.6027 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.1472, allocations: 37.72 kB / 0.6028 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/0.1473, allocations: 338.8 kB / 0.6031 GB, free: 264 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.1476, allocations: 95.86 kB / 0.6032 GB, free: 168 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.1479, allocations: 141 kB / 0.6033 GB, free: 8 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2187/0.3667, allocations: 233.8 kB / 0.6035 GB, free: 43.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3667, allocations: 2.562 kB / 0.6036 GB, free: 43.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007896/0.3675, allocations: 295.5 kB / 0.6038 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3675, allocations: 5.75 kB / 0.6038 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3675, allocations: 7.656 kB / 0.6038 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3676, allocations: 3.188 kB / 0.6038 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.3678, allocations: 60.55 kB / 0.6039 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3679, allocations: 2.906 kB / 0.6039 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.3681, allocations: 40.67 kB / 0.6039 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.3681, allocations: 9.531 kB / 0.604 GB, free: 43.91 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 8.761e-05/0.3682, allocations: 133.9 kB / 0.6041 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.3683, allocations: 27.84 kB / 0.6041 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/0.369, allocations: 289.3 kB / 0.6044 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3691, allocations: 3.219 kB / 0.6044 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3691, allocations: 3.406 kB / 0.6044 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3691, allocations: 3.75 kB / 0.6044 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.3694, allocations: 297.1 kB / 0.6047 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3694, allocations: 3.562 kB / 0.6047 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.3696, allocations: 56.66 kB / 0.6047 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3696, allocations: 0.5 kB / 0.6047 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3696, allocations: 4.781 kB / 0.6047 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3696, allocations: 6.656 kB / 0.6047 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3696, allocations: 2.844 kB / 0.6048 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006948/0.3703, allocations: 444.7 kB / 0.6052 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.3704, allocations: 108.9 kB / 0.6053 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.3704, allocations: 3.75 kB / 0.6053 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.3707, allocations: 30.67 kB / 0.6053 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.3708, allocations: 15.25 kB / 0.6053 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3708, allocations: 9.344 kB / 0.6053 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001226/0.3709, allocations: 192.1 kB / 0.6055 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3709, allocations: 0 / 0.6055 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003312/0.3712, allocations: 50.22 kB / 0.6056 GB, free: 43.18 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.0008895/0.3721, allocations: 0.9949 MB / 0.6065 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006639/0.3728, allocations: 231.4 kB / 0.6068 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3728, allocations: 4.578 kB / 0.6068 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.3731, allocations: 119.7 kB / 0.6069 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/0.3737, allocations: 79.97 kB / 0.607 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.3768, allocations: 2.703 MB / 0.6096 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.3769, allocations: 0.752 MB / 0.6103 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000141/0.3771, allocations: 33.75 kB / 0.6104 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3772, allocations: 86.31 kB / 0.6104 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.3772, allocations: 0 / 0.6104 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.62/2.998, allocations: 6.495 MB / 0.6168 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.145/12.14, allocations: 2.25 kB / 0.6168 GB, free: 39.66 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)