Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.Examples.WeeklySchedule7to19,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.001306/0.001306, allocations: 105.9 kB / 16.41 MB, free: 6.488 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.00123/0.00123, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8137/0.8137, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 65.61 kB / 0.5735 GB, free: 27.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1471, allocations: 78.87 MB / 0.6505 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002377/0.1495, allocations: 1.346 MB / 0.6518 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001263/0.1496, allocations: 43.88 kB / 0.6519 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.1496, allocations: 4 kB / 0.6519 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.925e-05/0.1497, allocations: 11.86 kB / 0.6519 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.126e-05/0.1498, allocations: 15.92 kB / 0.6519 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.385e-06/0.1498, allocations: 0 / 0.6519 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.261e-05/0.1499, allocations: 23.88 kB / 0.6519 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.514e-05/0.1499, allocations: 3.938 kB / 0.6519 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.965e-05/0.1499, allocations: 7.984 kB / 0.652 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.15, allocations: 15.92 kB / 0.652 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.15, allocations: 0 / 0.652 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.411e-05/0.1501, allocations: 12 kB / 0.652 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.1501, allocations: 4 kB / 0.652 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.1501, allocations: 11.92 kB / 0.652 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.55e-05/0.1502, allocations: 32.12 kB / 0.652 GB, free: 2.098 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1502, allocations: 4 kB / 0.652 GB, free: 2.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1502, allocations: 4 kB / 0.652 GB, free: 2.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1502, allocations: 3.938 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.0003335/0.1506, allocations: 327.4 kB / 0.6523 GB, free: 1.715 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1506, allocations: 12.02 kB / 0.6524 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.1507, allocations: 30.75 kB / 0.6524 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.1507, allocations: 8.891 kB / 0.6524 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.1509, allocations: 176.3 kB / 0.6526 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.1509, allocations: 384 / 0.6526 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-06/0.1509, allocations: 384 / 0.6526 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.525e-05/0.151, allocations: 38.2 kB / 0.6526 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.151, allocations: 3.938 kB / 0.6526 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.151, allocations: 0 / 0.6526 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.151, allocations: 0 / 0.6526 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.1511, allocations: 4 kB / 0.6526 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.1512, allocations: 157.7 kB / 0.6528 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.73e-05/0.1513, allocations: 18.56 kB / 0.6528 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.1513, allocations: 14.78 kB / 0.6528 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1513, allocations: 3.938 kB / 0.6528 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.1513, allocations: 30.56 kB / 0.6528 GB, free: 1.105 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.1513, allocations: 0 / 0.6528 GB, free: 1.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001156/0.1515, allocations: 45.59 kB / 0.6529 GB, free: 1.055 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.1515, allocations: 51.41 kB / 0.6529 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1516, allocations: 117.8 kB / 0.653 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1516, allocations: 25.83 kB / 0.6531 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.1517, allocations: 92.12 kB / 0.6531 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.1517, allocations: 0 / 0.6531 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.1517, allocations: 17.66 kB / 0.6532 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1519, allocations: 310.8 kB / 0.6535 GB, free: 416 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.1519, allocations: 0 / 0.6535 GB, free: 416 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/0.1519, allocations: 15.94 kB / 0.6535 GB, free: 400 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.558e-05/0.1519, allocations: 12.84 kB / 0.6535 GB, free: 384 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1519, allocations: 4.062 kB / 0.6535 GB, free: 380 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.598e-05/0.152, allocations: 41.59 kB / 0.6535 GB, free: 332 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.152, allocations: 7.938 kB / 0.6535 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.152, allocations: 0 / 0.6535 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.152, allocations: 0 / 0.6535 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.011e-05/0.1521, allocations: 4 kB / 0.6535 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.1521, allocations: 0 / 0.6535 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.144e-05/0.1521, allocations: 0 / 0.6535 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.1521, allocations: 7.984 kB / 0.6535 GB, free: 312 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 7.587e-05/0.1522, allocations: 117.8 kB / 0.6537 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.1522, allocations: 3.938 kB / 0.6537 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.321e-05/0.1523, allocations: 45.22 kB / 0.6537 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1523, allocations: 0 / 0.6537 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1523, allocations: 0 / 0.6537 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.1523, allocations: 0 / 0.6537 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.1525, allocations: 157.8 kB / 0.6539 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1525, allocations: 0 / 0.6539 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.477e-05/0.1525, allocations: 4 kB / 0.6539 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1525, allocations: 3.938 kB / 0.6539 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.1525, allocations: 4.031 kB / 0.6539 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1525, allocations: 0 / 0.6539 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1525, allocations: 0 / 0.6539 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.465e-05/0.1526, allocations: 68.92 kB / 0.6539 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.1527, allocations: 77.11 kB / 0.654 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.1527, allocations: 7.938 kB / 0.654 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-06/0.1527, allocations: 0 / 0.654 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.1527, allocations: 8.016 kB / 0.654 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1527, allocations: 3.984 kB / 0.654 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.024e-05/0.1528, allocations: 91.58 kB / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1528, allocations: 0 / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001836/0.153, allocations: 4 kB / 0.6541 GB, free: 15.62 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.0004469/0.1534, allocations: 0.6316 MB / 0.6547 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.106e-05/0.1535, allocations: 4 kB / 0.6547 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1535, allocations: 4 kB / 0.6547 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.744e-06/0.1535, allocations: 0 / 0.6547 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.1537, allocations: 8 kB / 0.6547 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009915/0.1547, allocations: 1.098 MB / 0.6558 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.1549, allocations: 0.6807 MB / 0.6565 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.522e-05/0.155, allocations: 4 kB / 0.6565 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.155, allocations: 15.42 kB / 0.6565 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.155, allocations: 0 / 0.6565 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.1749, allocations: 1.399 MB / 0.6579 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/7.936, allocations: 15.69 kB / 0.6579 GB, free: 11.72 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)