Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.0008244/0.0008244, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004867/0.004867, allocations: 170 kB / 16.26 MB, free: 6.613 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.195/1.195, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.8926/0.8926, allocations: 143.2 MB / 434.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002899, allocations: 12 kB / 0.5165 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1338, allocations: 83.41 MB / 0.598 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00158/0.1354, allocations: 1.295 MB / 0.5992 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1367, allocations: 0.9086 MB / 0.6001 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.1368, allocations: 0 / 0.6001 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.1368, allocations: 7.938 kB / 0.6001 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.1369, allocations: 19.84 kB / 0.6002 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.1372, allocations: 103.7 kB / 0.6003 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.1373, allocations: 71.72 kB / 0.6003 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.218e-05/0.1374, allocations: 12 kB / 0.6003 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.849e-05/0.1375, allocations: 31.84 kB / 0.6004 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1376, allocations: 35.84 kB / 0.6004 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1376, allocations: 0 / 0.6004 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.138, allocations: 275.7 kB / 0.6007 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.138, allocations: 7.922 kB / 0.6007 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.1381, allocations: 57.55 kB / 0.6007 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.1383, allocations: 147.9 kB / 0.6009 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1383, allocations: 4 kB / 0.6009 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1383, allocations: 4 kB / 0.6009 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.1383, allocations: 0 / 0.6009 GB, free: 4.551 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004612/0.1388, allocations: 399.2 kB / 0.6012 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1388, allocations: 8.031 kB / 0.6013 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.1389, allocations: 34.69 kB / 0.6013 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.897e-05/0.139, allocations: 20.83 kB / 0.6013 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.1391, allocations: 192.1 kB / 0.6015 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.1391, allocations: 384 / 0.6015 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.1392, allocations: 4.375 kB / 0.6015 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1393, allocations: 69.78 kB / 0.6016 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.1393, allocations: 0 / 0.6016 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1394, allocations: 4 kB / 0.6016 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1394, allocations: 0 / 0.6016 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.1395, allocations: 51.97 kB / 0.6016 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.1399, allocations: 304.7 kB / 0.6019 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1401, allocations: 62.56 kB / 0.602 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.575e-05/0.1401, allocations: 32.97 kB / 0.602 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.1402, allocations: 0 / 0.602 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.1402, allocations: 30.56 kB / 0.602 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1402, allocations: 4 kB / 0.602 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003355/0.1405, allocations: 121.5 kB / 0.6021 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.1406, allocations: 55.41 kB / 0.6022 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.478e-05/0.1407, allocations: 131.5 kB / 0.6023 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.1407, allocations: 29.7 kB / 0.6024 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.1407, allocations: 108 kB / 0.6025 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.1408, allocations: 11.75 kB / 0.6025 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.1408, allocations: 17.72 kB / 0.6025 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.1409, allocations: 318.8 kB / 0.6028 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.829e-05/0.141, allocations: 27.98 kB / 0.6028 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.346e-05/0.1411, allocations: 27.98 kB / 0.6028 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.1412, allocations: 60.83 kB / 0.6029 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1412, allocations: 3.938 kB / 0.6029 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002122/0.1414, allocations: 101.6 kB / 0.603 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1415, allocations: 4 kB / 0.603 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1415, allocations: 0 / 0.603 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.1415, allocations: 3.938 kB / 0.603 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1416, allocations: 23.98 kB / 0.603 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1416, allocations: 0 / 0.603 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.1417, allocations: 4 kB / 0.603 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.1417, allocations: 4 kB / 0.603 GB, free: 2.094 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 7.245e-05/0.1418, allocations: 117.8 kB / 0.6032 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.1418, allocations: 7.906 kB / 0.6032 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.142, allocations: 106.3 kB / 0.6033 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.1421, allocations: 8 kB / 0.6033 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1421, allocations: 4.062 kB / 0.6033 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1421, allocations: 0 / 0.6033 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.1422, allocations: 185.6 kB / 0.6034 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1423, allocations: 0 / 0.6034 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.1423, allocations: 12 kB / 0.6035 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1424, allocations: 4 kB / 0.6035 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.1424, allocations: 7.984 kB / 0.6035 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1424, allocations: 0 / 0.6035 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1424, allocations: 0 / 0.6035 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.1426, allocations: 207.3 kB / 0.6037 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.1427, allocations: 85.02 kB / 0.6038 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.1427, allocations: 0 / 0.6038 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.1428, allocations: 11.94 kB / 0.6038 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.1428, allocations: 7.984 kB / 0.6038 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.1428, allocations: 0 / 0.6038 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.1429, allocations: 105.6 kB / 0.6039 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1429, allocations: 0 / 0.6039 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002257/0.1431, allocations: 16 kB / 0.6039 GB, free: 1.129 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.000511/0.1436, allocations: 0.7552 MB / 0.6046 GB, free: 356 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.1438, allocations: 63.97 kB / 0.6047 GB, free: 292 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1439, allocations: 0 / 0.6047 GB, free: 292 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.1439, allocations: 39.91 kB / 0.6047 GB, free: 252 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.1442, allocations: 14.75 kB / 0.6047 GB, free: 240 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2304/0.3746, allocations: 1.493 MB / 0.6062 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.3747, allocations: 0.6924 MB / 0.6069 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.495e-05/0.3748, allocations: 9.781 kB / 0.6069 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.3749, allocations: 20.12 kB / 0.6069 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of SimCode: time 6.52e-07/0.3749, allocations: 0 / 0.6069 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5213/0.8962, allocations: 2.045 MB / 0.6089 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.8964, allocations: 224.2 kB / 0.6091 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.842, allocations: 0 / 0.6091 GB, free: 38.79 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)