Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.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.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_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.001317/0.001317, allocations: 105.9 kB / 16.4 MB, free: 6.516 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.001233/0.001233, allocations: 193.2 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8181/0.8181, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003254/0.003254, allocations: 71.64 kB / 0.5735 GB, free: 26.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2364, allocations: 78.86 MB / 0.6505 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.004246/0.2407, allocations: 1.467 MB / 0.652 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.2433, allocations: 1.113 MB / 0.6531 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/0.2434, allocations: 7.938 kB / 0.6531 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.2436, allocations: 15.86 kB / 0.6531 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.2439, allocations: 39.78 kB / 0.6531 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.2443, allocations: 75.53 kB / 0.6532 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.2446, allocations: 143.6 kB / 0.6533 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.2449, allocations: 61.09 kB / 0.6534 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.245, allocations: 83.7 kB / 0.6535 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.2453, allocations: 59.69 kB / 0.6535 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.815e-05/0.2454, allocations: 12 kB / 0.6535 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.2455, allocations: 24 kB / 0.6535 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.2456, allocations: 43.88 kB / 0.6536 GB, free: 472 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.2457, allocations: 75.58 kB / 0.6537 GB, free: 396 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.2461, allocations: 203.5 kB / 0.6539 GB, free: 192 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2462, allocations: 0 / 0.6539 GB, free: 192 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2462, allocations: 0 / 0.6539 GB, free: 192 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.2462, allocations: 4 kB / 0.6539 GB, free: 188 kB / 494.1 MB 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.0009851/0.2472, allocations: 0.4984 MB / 0.6543 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2472, allocations: 12.03 kB / 0.6544 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.217e-05/0.2473, allocations: 38.73 kB / 0.6544 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.941e-05/0.2474, allocations: 16.84 kB / 0.6544 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.2479, allocations: 248.6 kB / 0.6546 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.2481, allocations: 123.4 kB / 0.6548 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.2482, allocations: 8.375 kB / 0.6548 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005745/0.2488, allocations: 161.4 kB / 0.6549 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2488, allocations: 0 / 0.6549 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.2488, allocations: 4 kB / 0.6549 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/0.2489, allocations: 11.98 kB / 0.6549 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.249, allocations: 43.91 kB / 0.655 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.2508, allocations: 464.4 kB / 0.6554 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.2509, allocations: 30.56 kB / 0.6555 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.251, allocations: 36.78 kB / 0.6555 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.2511, allocations: 4 kB / 0.6555 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.2511, allocations: 34.56 kB / 0.6555 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.004e-06/0.2511, allocations: 0 / 0.6555 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004261/0.2516, allocations: 113.6 kB / 0.6556 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.2517, allocations: 59.34 kB / 0.6557 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.252, allocations: 211.9 kB / 0.6559 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.2521, allocations: 29.7 kB / 0.6559 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.2523, allocations: 128 kB / 0.656 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.2523, allocations: 27.75 kB / 0.6561 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.2524, allocations: 33.64 kB / 0.6561 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.2526, allocations: 326.8 kB / 0.6564 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.411e-05/0.2527, allocations: 27.98 kB / 0.6564 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.2529, allocations: 102.2 kB / 0.6565 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.2533, allocations: 138.2 kB / 0.6567 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2533, allocations: 0 / 0.6567 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004797/0.2538, allocations: 157.3 kB / 0.6568 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2538, allocations: 4 kB / 0.6568 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.2539, allocations: 7.984 kB / 0.6568 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.2539, allocations: 4 kB / 0.6568 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2541, allocations: 19.94 kB / 0.6569 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.2541, allocations: 11.92 kB / 0.6569 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.2542, allocations: 11.89 kB / 0.6569 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.2543, allocations: 12.38 kB / 0.6569 GB, free: 12.75 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0002061/0.2545, allocations: 145.8 kB / 0.657 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.2546, allocations: 19.91 kB / 0.6571 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.255, allocations: 114.9 kB / 0.6572 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.255, allocations: 4 kB / 0.6572 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.255, allocations: 3.938 kB / 0.6572 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.255, allocations: 0 / 0.6572 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.2555, allocations: 237.5 kB / 0.6574 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2555, allocations: 0 / 0.6574 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.2557, allocations: 19.92 kB / 0.6574 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2557, allocations: 4 kB / 0.6574 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.2557, allocations: 0 / 0.6574 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.2557, allocations: 4 kB / 0.6574 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.2557, allocations: 3.938 kB / 0.6574 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.2561, allocations: 183.4 kB / 0.6576 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.376e-05/0.2562, allocations: 89.02 kB / 0.6577 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.2563, allocations: 0 / 0.6577 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.2567, allocations: 23.97 kB / 0.6577 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.2567, allocations: 15.92 kB / 0.6577 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.2568, allocations: 7.984 kB / 0.6577 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002619/0.2571, allocations: 160.2 kB / 0.6579 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2571, allocations: 0 / 0.6579 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005407/0.2576, allocations: 27.94 kB / 0.6579 GB, free: 11.61 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 (8): * Single equations (assignments): 8 * 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.000954/0.2586, allocations: 0.7508 MB / 0.6586 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.2589, allocations: 68.52 kB / 0.6587 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.2589, allocations: 12.06 kB / 0.6587 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.785e-05/0.259, allocations: 27.92 kB / 0.6587 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.2595, allocations: 24.48 kB / 0.6588 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.2629, allocations: 1.916 MB / 0.6606 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.2635, allocations: 0.7314 MB / 0.6614 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002314/0.2637, allocations: 60.7 kB / 0.6614 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.2639, allocations: 43.42 kB / 0.6615 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.2639, allocations: 0 / 0.6615 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03693/0.3008, allocations: 4.228 MB / 0.6656 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.232, allocations: 11.7 kB / 0.6656 GB, free: 3.656 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)