Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule",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.001295/0.001295, allocations: 107.9 kB / 16.41 MB, free: 6.445 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.001251/0.001251, allocations: 191.9 kB / 17.34 MB, free: 5.738 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8214/0.8214, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 70.88 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1335, allocations: 78.87 MB / 0.6506 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.002515/0.1361, allocations: 1.33 MB / 0.6519 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001501/0.1362, allocations: 43.81 kB / 0.6519 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.1363, allocations: 0 / 0.6519 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.1364, allocations: 7.938 kB / 0.6519 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.1365, allocations: 15.92 kB / 0.6519 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.938e-06/0.1366, allocations: 3.938 kB / 0.6519 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.413e-05/0.1366, allocations: 11.94 kB / 0.6519 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.1367, allocations: 7.984 kB / 0.6519 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.935e-05/0.1367, allocations: 7.984 kB / 0.6519 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.1368, allocations: 7.938 kB / 0.652 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1368, allocations: 0 / 0.652 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.235e-05/0.1368, allocations: 19.98 kB / 0.652 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.1369, allocations: 3.938 kB / 0.652 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.1369, allocations: 7.938 kB / 0.652 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.137, allocations: 32.12 kB / 0.652 GB, free: 2.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.137, allocations: 3.938 kB / 0.652 GB, free: 2.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.137, allocations: 0 / 0.652 GB, free: 2.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.137, allocations: 4 kB / 0.652 GB, free: 2.086 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003835/0.1374, allocations: 327.3 kB / 0.6523 GB, free: 1.715 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1375, allocations: 12.03 kB / 0.6523 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.063e-05/0.1375, allocations: 38.7 kB / 0.6524 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.1376, allocations: 0.9375 kB / 0.6524 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.1378, allocations: 176.3 kB / 0.6526 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1378, allocations: 4.375 kB / 0.6526 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.1378, allocations: 4.312 kB / 0.6526 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.128e-05/0.1379, allocations: 34.25 kB / 0.6526 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1379, allocations: 3.938 kB / 0.6526 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.1379, allocations: 0 / 0.6526 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.1379, allocations: 4 kB / 0.6526 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.138, allocations: 4 kB / 0.6526 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.1383, allocations: 237 kB / 0.6528 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.617e-05/0.1383, allocations: 30.45 kB / 0.6529 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.1384, allocations: 4.859 kB / 0.6529 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1384, allocations: 3.984 kB / 0.6529 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.1384, allocations: 38.62 kB / 0.6529 GB, free: 1.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.1384, allocations: 0 / 0.6529 GB, free: 1.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.1386, allocations: 37.69 kB / 0.6529 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.1386, allocations: 55.47 kB / 0.653 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.1388, allocations: 121.8 kB / 0.6531 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1388, allocations: 25.7 kB / 0.6531 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.1388, allocations: 84.08 kB / 0.6532 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.1389, allocations: 7.953 kB / 0.6532 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.1389, allocations: 13.72 kB / 0.6532 GB, free: 0.625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1391, allocations: 314.8 kB / 0.6535 GB, free: 316 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.1391, allocations: 4 kB / 0.6535 GB, free: 312 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-06/0.1391, allocations: 4 kB / 0.6535 GB, free: 308 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/0.1391, allocations: 12.86 kB / 0.6536 GB, free: 292 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1391, allocations: 3.938 kB / 0.6536 GB, free: 288 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.221e-05/0.1392, allocations: 37.69 kB / 0.6536 GB, free: 244 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1392, allocations: 7.938 kB / 0.6536 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1392, allocations: 0 / 0.6536 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1392, allocations: 0 / 0.6536 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.374e-05/0.1393, allocations: 4 kB / 0.6536 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.1393, allocations: 0 / 0.6536 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.1393, allocations: 4.094 kB / 0.6536 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1393, allocations: 4 kB / 0.6536 GB, free: 224 kB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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.937e-05/0.1394, allocations: 117.7 kB / 0.6537 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.1395, allocations: 3.953 kB / 0.6537 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.035e-05/0.1395, allocations: 45.22 kB / 0.6538 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1396, allocations: 0 / 0.6538 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1396, allocations: 0 / 0.6538 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.1396, allocations: 3.984 kB / 0.6538 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.1398, allocations: 157.6 kB / 0.6539 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1398, allocations: 4.031 kB / 0.6539 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.1398, allocations: 7.984 kB / 0.6539 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1398, allocations: 3.938 kB / 0.6539 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.1398, allocations: 0 / 0.6539 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1398, allocations: 0 / 0.6539 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1398, allocations: 0 / 0.6539 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.1399, allocations: 133.4 kB / 0.6541 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.14, allocations: 93.08 kB / 0.6542 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.14, allocations: 0 / 0.6542 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.1401, allocations: 0 / 0.6542 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-06/0.1401, allocations: 0 / 0.6542 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.1401, allocations: 0 / 0.6542 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.212e-05/0.1402, allocations: 91.27 kB / 0.6542 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1402, allocations: 3.938 kB / 0.6542 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000226/0.1404, allocations: 7.938 kB / 0.6543 GB, free: 15.46 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 (1): * Single equations (assignments): 1 * 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.0005317/0.1409, allocations: 0.6841 MB / 0.6549 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.551e-05/0.141, allocations: 8 kB / 0.6549 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.141, allocations: 0 / 0.6549 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.854e-06/0.141, allocations: 4.094 kB / 0.6549 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.1413, allocations: 7.938 kB / 0.6549 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1423, allocations: 1.183 MB / 0.6561 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.1427, allocations: 0.6807 MB / 0.6568 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.331e-05/0.1427, allocations: 0.625 kB / 0.6568 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1428, allocations: 19.42 kB / 0.6568 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1428, allocations: 0 / 0.6568 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.1638, allocations: 1.366 MB / 0.6581 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/7.919, allocations: 12 kB / 0.6581 GB, free: 11.44 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)