Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.001015/0.001015, allocations: 108 kB / 15.61 MB, free: 148 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.00103/0.00103, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.236/1.236, 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.9051/0.9051, allocations: 143 MB / 433.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.89 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1273, allocations: 82.04 MB / 0.5944 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00246/0.1298, allocations: 1.813 MB / 0.5962 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002234/0.13, allocations: 115.6 kB / 0.5963 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.1301, allocations: 0 / 0.5963 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.508e-05/0.1302, allocations: 19.8 kB / 0.5963 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.1303, allocations: 47.56 kB / 0.5963 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.1304, allocations: 35.95 kB / 0.5964 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1306, allocations: 175 kB / 0.5965 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.756e-05/0.1307, allocations: 25.11 kB / 0.5966 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.1307, allocations: 51.86 kB / 0.5966 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.1308, allocations: 67.69 kB / 0.5967 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.1309, allocations: 8 kB / 0.5967 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.573e-05/0.1309, allocations: 16 kB / 0.5967 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.1309, allocations: 23.92 kB / 0.5967 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.131, allocations: 63.66 kB / 0.5968 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.1311, allocations: 127.9 kB / 0.5969 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1311, allocations: 0 / 0.5969 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1311, allocations: 0 / 0.5969 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.1311, allocations: 0 / 0.5969 GB, free: 6.922 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000637/0.1318, allocations: 458.8 kB / 0.5973 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.1318, allocations: 8.031 kB / 0.5973 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.1318, allocations: 46.69 kB / 0.5974 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.1319, allocations: 16.75 kB / 0.5974 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.1321, allocations: 196.1 kB / 0.5976 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-06/0.1321, allocations: 8.312 kB / 0.5976 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.1321, allocations: 12.31 kB / 0.5976 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.1323, allocations: 127.8 kB / 0.5977 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1323, allocations: 3.938 kB / 0.5977 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1324, allocations: 0 / 0.5977 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1324, allocations: 4 kB / 0.5977 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.1326, allocations: 95.92 kB / 0.5978 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.1332, allocations: 472.6 kB / 0.5983 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.1335, allocations: 129.2 kB / 0.5984 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.1337, allocations: 61.77 kB / 0.5985 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1337, allocations: 4 kB / 0.5985 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.1337, allocations: 34.56 kB / 0.5985 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.1337, allocations: 0 / 0.5985 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005031/0.1342, allocations: 185.4 kB / 0.5987 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.1343, allocations: 81.11 kB / 0.5988 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1344, allocations: 175.4 kB / 0.5989 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.1344, allocations: 25.7 kB / 0.5989 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.1345, allocations: 112 kB / 0.5991 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.1345, allocations: 27.56 kB / 0.5991 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.1346, allocations: 29.7 kB / 0.5991 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.1347, allocations: 326.8 kB / 0.5994 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1348, allocations: 39.97 kB / 0.5995 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.1349, allocations: 57.62 kB / 0.5995 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.1352, allocations: 105.7 kB / 0.5996 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1352, allocations: 0 / 0.5996 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000311/0.1355, allocations: 145.5 kB / 0.5998 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.1355, allocations: 4 kB / 0.5998 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1355, allocations: 0 / 0.5998 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1356, allocations: 4 kB / 0.5998 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.1357, allocations: 19.98 kB / 0.5998 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1357, allocations: 4 kB / 0.5998 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.1358, allocations: 23.83 kB / 0.5998 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1358, allocations: 0 / 0.5998 GB, free: 3.668 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.047e-05/0.1359, allocations: 121.8 kB / 0.5999 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.136, allocations: 7.906 kB / 0.5999 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.1363, allocations: 163.2 kB / 0.6001 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1364, allocations: 4 kB / 0.6001 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1364, allocations: 11.88 kB / 0.6001 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1364, allocations: 3.938 kB / 0.6001 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.1366, allocations: 225.5 kB / 0.6003 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1366, allocations: 4 kB / 0.6003 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.1368, allocations: 19.98 kB / 0.6003 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1368, allocations: 0 / 0.6003 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1368, allocations: 7.984 kB / 0.6003 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1368, allocations: 4 kB / 0.6004 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1368, allocations: 4 kB / 0.6004 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.1371, allocations: 302.8 kB / 0.6006 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.1372, allocations: 92.92 kB / 0.6007 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.1372, allocations: 7.969 kB / 0.6007 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1374, allocations: 12 kB / 0.6008 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.1374, allocations: 15.92 kB / 0.6008 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1374, allocations: 0 / 0.6008 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.478e-05/0.1375, allocations: 123.2 kB / 0.6009 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1375, allocations: 0 / 0.6009 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002595/0.1378, allocations: 28 kB / 0.6009 GB, free: 2.434 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 (9): * Single equations (assignments): 9 * 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.0005502/0.1383, allocations: 0.8482 MB / 0.6017 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003088/0.1387, allocations: 111.9 kB / 0.6018 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1387, allocations: 4 kB / 0.6019 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.1388, allocations: 51.97 kB / 0.6019 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.1392, allocations: 44.41 kB / 0.6019 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1995/0.3387, allocations: 1.813 MB / 0.6037 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.3388, allocations: 0.7034 MB / 0.6044 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.339, allocations: 14.5 kB / 0.6044 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.339, allocations: 37.16 kB / 0.6045 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.339, allocations: 0 / 0.6045 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.423/1.762, allocations: 3.6 MB / 0.608 GB, free: 41.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/12.76, allocations: 10.73 kB / 0.608 GB, free: 41.99 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)