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.001617/0.001617, allocations: 105.7 kB / 16.4 MB, free: 6.453 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.001913/0.001913, allocations: 189.2 kB / 17.34 MB, free: 5.734 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.304/1.304, 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.7633/0.7633, allocations: 122.8 MB / 414.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 68.27 kB / 0.568 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1225, allocations: 77.93 MB / 0.6441 GB, free: 9.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.002228/0.1248, allocations: 1.33 MB / 0.6454 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000134/0.1249, allocations: 43.83 kB / 0.6454 GB, free: 8.137 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.125, allocations: 0 / 0.6454 GB, free: 8.137 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.1251, allocations: 7.922 kB / 0.6454 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.534e-05/0.1252, allocations: 15.92 kB / 0.6454 GB, free: 8.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.036e-06/0.1252, allocations: 0 / 0.6454 GB, free: 8.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.27e-05/0.1253, allocations: 15.88 kB / 0.6454 GB, free: 8.098 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.1253, allocations: 11.98 kB / 0.6454 GB, free: 8.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.445e-05/0.1254, allocations: 4 kB / 0.6455 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.1254, allocations: 11.92 kB / 0.6455 GB, free: 8.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.1254, allocations: 3.938 kB / 0.6455 GB, free: 8.066 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.65e-05/0.1255, allocations: 19.98 kB / 0.6455 GB, free: 8.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.1255, allocations: 0 / 0.6455 GB, free: 8.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.1255, allocations: 7.938 kB / 0.6455 GB, free: 8.039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.845e-05/0.1256, allocations: 32.12 kB / 0.6455 GB, free: 8.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1256, allocations: 0 / 0.6455 GB, free: 8.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1257, allocations: 0 / 0.6455 GB, free: 8.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.1257, allocations: 0 / 0.6455 GB, free: 8.008 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.0003008/0.126, allocations: 341.3 kB / 0.6459 GB, free: 7.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.126, allocations: 12.62 kB / 0.6459 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.02e-05/0.1261, allocations: 42.64 kB / 0.6459 GB, free: 7.562 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.1261, allocations: 0.9375 kB / 0.6459 GB, free: 7.562 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.1262, allocations: 172.3 kB / 0.6461 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-06/0.1263, allocations: 384 / 0.6461 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.1263, allocations: 4.375 kB / 0.6461 GB, free: 7.352 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.423e-05/0.1264, allocations: 34.25 kB / 0.6461 GB, free: 7.312 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1264, allocations: 7.938 kB / 0.6461 GB, free: 7.305 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-06/0.1264, allocations: 0 / 0.6461 GB, free: 7.305 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.1264, allocations: 0 / 0.6461 GB, free: 7.305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.276e-05/0.1264, allocations: 8 kB / 0.6461 GB, free: 7.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.1267, allocations: 240.9 kB / 0.6464 GB, free: 7.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.928e-05/0.1267, allocations: 22.52 kB / 0.6464 GB, free: 6.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.1267, allocations: 8.859 kB / 0.6464 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.1268, allocations: 4 kB / 0.6464 GB, free: 6.965 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.1268, allocations: 30.56 kB / 0.6464 GB, free: 6.926 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1268, allocations: 64 / 0.6464 GB, free: 6.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001207/0.1269, allocations: 41.62 kB / 0.6465 GB, free: 6.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.127, allocations: 51.41 kB / 0.6465 GB, free: 6.816 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.1271, allocations: 117.8 kB / 0.6466 GB, free: 6.691 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.1271, allocations: 25.7 kB / 0.6466 GB, free: 6.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.1271, allocations: 88.22 kB / 0.6467 GB, free: 6.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.1271, allocations: 7.984 kB / 0.6467 GB, free: 6.562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.1272, allocations: 13.72 kB / 0.6467 GB, free: 6.543 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.1272, allocations: 314.8 kB / 0.647 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-06/0.1273, allocations: 0 / 0.647 GB, free: 6.227 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-06/0.1273, allocations: 4 kB / 0.647 GB, free: 6.223 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.081e-05/0.1273, allocations: 16.8 kB / 0.6471 GB, free: 6.203 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1273, allocations: 3.938 kB / 0.6471 GB, free: 6.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.561e-05/0.1274, allocations: 45.69 kB / 0.6471 GB, free: 6.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.1274, allocations: 4 kB / 0.6471 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1274, allocations: 0 / 0.6471 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1274, allocations: 0 / 0.6471 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.816e-05/0.1275, allocations: 3.938 kB / 0.6471 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1275, allocations: 4 kB / 0.6471 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.1275, allocations: 3.953 kB / 0.6471 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1275, allocations: 0 / 0.6471 GB, free: 6.133 MB / 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 5.896e-05/0.1276, allocations: 109.8 kB / 0.6472 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.1276, allocations: 8 kB / 0.6472 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.59e-05/0.1277, allocations: 49.47 kB / 0.6473 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1277, allocations: 0 / 0.6473 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1277, allocations: 0 / 0.6473 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1277, allocations: 0 / 0.6473 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.1278, allocations: 157.6 kB / 0.6474 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1278, allocations: 0 / 0.6474 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.1279, allocations: 4 kB / 0.6474 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1279, allocations: 3.984 kB / 0.6474 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1279, allocations: 4.031 kB / 0.6474 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1279, allocations: 7.984 kB / 0.6475 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1279, allocations: 0 / 0.6475 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.723e-05/0.128, allocations: 131.5 kB / 0.6476 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.128, allocations: 85.05 kB / 0.6477 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.128, allocations: 7.984 kB / 0.6477 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.1281, allocations: 0 / 0.6477 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-06/0.1281, allocations: 3.938 kB / 0.6477 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.1281, allocations: 4.031 kB / 0.6477 GB, free: 5.465 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.865e-05/0.1282, allocations: 91.27 kB / 0.6478 GB, free: 5.375 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1282, allocations: 0 / 0.6478 GB, free: 5.375 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.1284, allocations: 7.938 kB / 0.6478 GB, free: 5.367 MB / 494.1 MB 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.0003802/0.1288, allocations: 0.6794 MB / 0.6484 GB, free: 4.668 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.056e-05/0.1289, allocations: 11.94 kB / 0.6484 GB, free: 4.656 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1289, allocations: 0 / 0.6484 GB, free: 4.656 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.224e-06/0.1289, allocations: 7.938 kB / 0.6485 GB, free: 4.648 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.1291, allocations: 4 kB / 0.6485 GB, free: 4.645 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00083/0.1299, allocations: 1.186 MB / 0.6496 GB, free: 3.379 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.1301, allocations: 0.6768 MB / 0.6503 GB, free: 2.676 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.515e-05/0.1302, allocations: 4 kB / 0.6503 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.1302, allocations: 15.42 kB / 0.6503 GB, free: 2.656 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1302, allocations: 4 kB / 0.6503 GB, free: 2.652 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.1458, allocations: 1.357 MB / 0.6516 GB, free: 1.363 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.501/7.647, allocations: 6.797 kB / 0.6516 GB, free: 1.359 MB / 494.1 MB (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)