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.0008228/0.0008229, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004604/0.004604, allocations: 170 kB / 16.27 MB, free: 6.652 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.154/1.154, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.8303/0.8303, allocations: 143.2 MB / 434.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 8 kB / 0.5165 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1306, allocations: 83.41 MB / 0.598 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001524/0.1321, allocations: 1.533 MB / 0.5994 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002089/0.1323, allocations: 123.6 kB / 0.5996 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.1324, allocations: 0 / 0.5996 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.954e-05/0.1325, allocations: 7.922 kB / 0.5996 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.341e-05/0.1326, allocations: 47.56 kB / 0.5996 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.1327, allocations: 31.95 kB / 0.5996 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.1329, allocations: 167.1 kB / 0.5998 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.133, allocations: 25.09 kB / 0.5998 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.824e-05/0.133, allocations: 47.78 kB / 0.5999 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.32e-05/0.1331, allocations: 67.69 kB / 0.5999 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.1331, allocations: 4 kB / 0.5999 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.963e-05/0.1332, allocations: 8 kB / 0.6 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.1332, allocations: 15.92 kB / 0.6 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.1333, allocations: 89.36 kB / 0.6001 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1334, allocations: 115.8 kB / 0.6002 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1334, allocations: 3.984 kB / 0.6002 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1334, allocations: 0 / 0.6002 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.1334, allocations: 0 / 0.6002 GB, free: 5.281 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.000588/0.134, allocations: 450.9 kB / 0.6006 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.134, allocations: 8.031 kB / 0.6006 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.327e-05/0.1341, allocations: 38.75 kB / 0.6006 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.1341, allocations: 16.84 kB / 0.6007 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.1343, allocations: 207.9 kB / 0.6009 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.1343, allocations: 4.375 kB / 0.6009 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.1343, allocations: 12.38 kB / 0.6009 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.1346, allocations: 123.9 kB / 0.601 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1346, allocations: 3.938 kB / 0.601 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1346, allocations: 0 / 0.601 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1346, allocations: 3.938 kB / 0.601 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.1349, allocations: 119.9 kB / 0.6011 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.1354, allocations: 472.7 kB / 0.6016 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.1358, allocations: 137.2 kB / 0.6017 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.1359, allocations: 69.77 kB / 0.6018 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.136, allocations: 0 / 0.6018 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.136, allocations: 42.5 kB / 0.6018 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 8.22e-07/0.136, allocations: 0 / 0.6018 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005162/0.1365, allocations: 201.4 kB / 0.602 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.1366, allocations: 85.11 kB / 0.6021 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1367, allocations: 168.4 kB / 0.6022 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1367, allocations: 25.7 kB / 0.6023 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.1368, allocations: 112 kB / 0.6024 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.1368, allocations: 27.56 kB / 0.6024 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.1368, allocations: 13.72 kB / 0.6024 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.1369, allocations: 334.8 kB / 0.6027 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1371, allocations: 47.97 kB / 0.6028 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.1372, allocations: 65.69 kB / 0.6028 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.1375, allocations: 117.6 kB / 0.6029 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1375, allocations: 4 kB / 0.603 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00032/0.1378, allocations: 153.5 kB / 0.6031 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.689e-06/0.1379, allocations: 4.188 kB / 0.6031 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1379, allocations: 4 kB / 0.6031 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/0.1379, allocations: 7.938 kB / 0.6031 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.138, allocations: 32.3 kB / 0.6031 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.138, allocations: 0 / 0.6031 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1382, allocations: 27.83 kB / 0.6032 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.1382, allocations: 0 / 0.6032 GB, free: 1.934 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.077e-05/0.1382, allocations: 121.8 kB / 0.6033 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.1383, allocations: 11.91 kB / 0.6033 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003844/0.1387, allocations: 174.7 kB / 0.6035 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1387, allocations: 8.031 kB / 0.6035 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1387, allocations: 0 / 0.6035 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1387, allocations: 3.938 kB / 0.6035 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.139, allocations: 225.5 kB / 0.6037 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.139, allocations: 0 / 0.6037 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.1391, allocations: 35.86 kB / 0.6037 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1391, allocations: 0 / 0.6037 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1391, allocations: 0 / 0.6037 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1391, allocations: 8 kB / 0.6037 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1391, allocations: 3.984 kB / 0.6037 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.1395, allocations: 326.6 kB / 0.604 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.1396, allocations: 88.92 kB / 0.6041 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1396, allocations: 0 / 0.6041 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.1398, allocations: 15.98 kB / 0.6041 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.1398, allocations: 11.92 kB / 0.6042 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.1398, allocations: 4 kB / 0.6042 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.582e-05/0.1399, allocations: 129.2 kB / 0.6043 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1399, allocations: 0 / 0.6043 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002528/0.1402, allocations: 28 kB / 0.6043 GB, free: 0.6641 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.1992/0.3394, allocations: 0.8503 MB / 0.6051 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003847/0.3398, allocations: 113.5 kB / 0.6053 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3398, allocations: 1.312 kB / 0.6053 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.34, allocations: 65.58 kB / 0.6053 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.3404, allocations: 45.89 kB / 0.6054 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.342, allocations: 1.88 MB / 0.6072 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.251e-05/0.3421, allocations: 0.7086 MB / 0.6079 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.83e-05/0.3422, allocations: 6.375 kB / 0.6079 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.3423, allocations: 41.77 kB / 0.6079 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.3423, allocations: 0 / 0.6079 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4471/0.7894, allocations: 3.257 MB / 0.6111 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001245/0.7896, allocations: 225.4 kB / 0.6113 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.73/3.52, allocations: 0 / 0.6113 GB, free: 38.25 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)