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.002066/0.002067, allocations: 109.3 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.001657/0.001658, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7193/0.7193, allocations: 125.4 MB / 416.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 62.72 kB / 0.5716 GB, free: 27.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1141, allocations: 78.57 MB / 0.6483 GB, free: 5.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00209/0.1162, allocations: 1.36 MB / 0.6497 GB, free: 4.277 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001304/0.1164, allocations: 43.81 kB / 0.6497 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/0.1164, allocations: 0 / 0.6497 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.1166, allocations: 7.938 kB / 0.6497 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.992e-05/0.1167, allocations: 15.92 kB / 0.6497 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.876e-06/0.1167, allocations: 0 / 0.6497 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.693e-05/0.1167, allocations: 19.88 kB / 0.6497 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.376e-05/0.1168, allocations: 7.984 kB / 0.6498 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.343e-05/0.1168, allocations: 7.984 kB / 0.6498 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.068e-05/0.1169, allocations: 11.88 kB / 0.6498 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1169, allocations: 4 kB / 0.6498 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.844e-05/0.1169, allocations: 15.94 kB / 0.6498 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.117, allocations: 7.984 kB / 0.6498 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.117, allocations: 7.938 kB / 0.6498 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.195e-05/0.1171, allocations: 36.11 kB / 0.6498 GB, free: 4.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1171, allocations: 0 / 0.6498 GB, free: 4.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1171, allocations: 0 / 0.6498 GB, free: 4.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1171, allocations: 0 / 0.6498 GB, free: 4.094 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.0003152/0.1174, allocations: 339.3 kB / 0.6502 GB, free: 3.711 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1175, allocations: 12.03 kB / 0.6502 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.732e-05/0.1175, allocations: 30.75 kB / 0.6502 GB, free: 3.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.1175, allocations: 4.891 kB / 0.6502 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.1177, allocations: 176.3 kB / 0.6504 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-06/0.1177, allocations: 384 / 0.6504 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.1177, allocations: 384 / 0.6504 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.642e-05/0.1178, allocations: 30.27 kB / 0.6504 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.1178, allocations: 3.938 kB / 0.6504 GB, free: 3.406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1178, allocations: 4 kB / 0.6504 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.1178, allocations: 11.94 kB / 0.6504 GB, free: 3.391 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.698e-05/0.1179, allocations: 3.984 kB / 0.6504 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.118, allocations: 157.7 kB / 0.6506 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.124e-05/0.118, allocations: 18.61 kB / 0.6506 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.1181, allocations: 8.859 kB / 0.6506 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.1181, allocations: 0 / 0.6506 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.1181, allocations: 38.62 kB / 0.6506 GB, free: 3.098 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 6.22e-07/0.1181, allocations: 0 / 0.6506 GB, free: 3.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001056/0.1182, allocations: 41.53 kB / 0.6507 GB, free: 3.051 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.1183, allocations: 59.39 kB / 0.6507 GB, free: 2.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.567e-05/0.1184, allocations: 113.8 kB / 0.6509 GB, free: 2.859 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.1184, allocations: 25.7 kB / 0.6509 GB, free: 2.828 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.1184, allocations: 84.14 kB / 0.651 GB, free: 2.742 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.1184, allocations: 4 kB / 0.651 GB, free: 2.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.1185, allocations: 13.84 kB / 0.651 GB, free: 2.719 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1186, allocations: 318.8 kB / 0.6513 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.1186, allocations: 4 kB / 0.6513 GB, free: 2.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-06/0.1186, allocations: 3.984 kB / 0.6513 GB, free: 2.391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.1187, allocations: 16.8 kB / 0.6513 GB, free: 2.371 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1187, allocations: 0 / 0.6513 GB, free: 2.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.436e-05/0.1187, allocations: 37.66 kB / 0.6513 GB, free: 2.328 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1187, allocations: 7.938 kB / 0.6513 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1188, allocations: 4.094 kB / 0.6513 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1188, allocations: 7.938 kB / 0.6514 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.677e-05/0.1188, allocations: 3.984 kB / 0.6514 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1188, allocations: 0 / 0.6514 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.042e-05/0.1188, allocations: 0 / 0.6514 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.1188, allocations: 0 / 0.6514 GB, free: 2.305 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 6.691e-05/0.1189, allocations: 109.8 kB / 0.6515 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.1189, allocations: 7.938 kB / 0.6515 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.971e-05/0.119, allocations: 49.16 kB / 0.6515 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.119, allocations: 0 / 0.6515 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.119, allocations: 0 / 0.6515 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.119, allocations: 0 / 0.6515 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.1191, allocations: 157.7 kB / 0.6517 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.1191, allocations: 0 / 0.6517 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.1192, allocations: 0 / 0.6517 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1192, allocations: 3.938 kB / 0.6517 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-06/0.1192, allocations: 0 / 0.6517 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1192, allocations: 3.984 kB / 0.6517 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1192, allocations: 4 kB / 0.6517 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.89e-05/0.1193, allocations: 69.06 kB / 0.6517 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.1193, allocations: 77.11 kB / 0.6518 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.1193, allocations: 3.938 kB / 0.6518 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.127e-05/0.1193, allocations: 7.984 kB / 0.6518 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.1194, allocations: 0 / 0.6518 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.1194, allocations: 3.984 kB / 0.6518 GB, free: 1.707 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.418e-05/0.1194, allocations: 95.28 kB / 0.6519 GB, free: 1.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1194, allocations: 4.031 kB / 0.6519 GB, free: 1.609 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001659/0.1196, allocations: 4 kB / 0.6519 GB, free: 1.605 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.0003894/0.12, allocations: 0.6215 MB / 0.6525 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.283e-05/0.1201, allocations: 11.94 kB / 0.6526 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1201, allocations: 0 / 0.6526 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.348e-06/0.1201, allocations: 4 kB / 0.6526 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.1202, allocations: 0 / 0.6526 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008454/0.1211, allocations: 1.106 MB / 0.6536 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.1213, allocations: 0.6768 MB / 0.6543 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.288e-05/0.1214, allocations: 12.02 kB / 0.6543 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.1214, allocations: 7.438 kB / 0.6543 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1214, allocations: 0 / 0.6543 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2565/0.3779, allocations: 1.39 MB / 0.6557 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.259, allocations: 13.8 kB / 0.6557 GB, free: 13.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)