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.0067/0.0067, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001732/0.001732, allocations: 197.4 kB / 16.79 MB, free: 6.242 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.187/1.187, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6101/0.6101, allocations: 115.3 MB / 405.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 69.61 kB / 493 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1109, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.002061/0.113, allocations: 1.399 MB / 0.5572 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001167/0.1131, allocations: 39.83 kB / 0.5572 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.1132, allocations: 0 / 0.5572 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.1133, allocations: 15.92 kB / 0.5573 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.303e-05/0.1134, allocations: 7.984 kB / 0.5573 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.184e-06/0.1134, allocations: 0 / 0.5573 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.96e-05/0.1135, allocations: 15.88 kB / 0.5573 GB, free: 9.238 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.1135, allocations: 4 kB / 0.5573 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.413e-05/0.1135, allocations: 7.984 kB / 0.5573 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.931e-05/0.1136, allocations: 7.938 kB / 0.5573 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1136, allocations: 0 / 0.5573 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.667e-05/0.1136, allocations: 8 kB / 0.5573 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.1137, allocations: 11.98 kB / 0.5573 GB, free: 9.199 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.1137, allocations: 15.86 kB / 0.5573 GB, free: 9.184 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.753e-05/0.1138, allocations: 23.92 kB / 0.5574 GB, free: 9.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1138, allocations: 0 / 0.5574 GB, free: 9.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.1138, allocations: 0 / 0.5574 GB, free: 9.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.1138, allocations: 0 / 0.5574 GB, free: 9.16 MB / 430.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.0002585/0.1141, allocations: 335.7 kB / 0.5577 GB, free: 8.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1141, allocations: 12.03 kB / 0.5577 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.1141, allocations: 34.73 kB / 0.5577 GB, free: 8.727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.052e-05/0.1142, allocations: 4.844 kB / 0.5577 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1143, allocations: 176.4 kB / 0.5579 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.1143, allocations: 4.375 kB / 0.5579 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-06/0.1143, allocations: 384 / 0.5579 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.501e-05/0.1144, allocations: 34.2 kB / 0.5579 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1144, allocations: 3.938 kB / 0.5579 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.1144, allocations: 3.984 kB / 0.5579 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.1144, allocations: 0 / 0.5579 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.079e-05/0.1145, allocations: 7.938 kB / 0.5579 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.1147, allocations: 245 kB / 0.5582 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.589e-05/0.1147, allocations: 22.52 kB / 0.5582 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.1148, allocations: 4.859 kB / 0.5582 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.1148, allocations: 0 / 0.5582 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.1148, allocations: 38.62 kB / 0.5582 GB, free: 8.078 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.943e-06/0.1148, allocations: 0 / 0.5582 GB, free: 8.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001097/0.1149, allocations: 41.55 kB / 0.5583 GB, free: 8.031 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.1149, allocations: 59.39 kB / 0.5583 GB, free: 7.961 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.865e-05/0.115, allocations: 113.8 kB / 0.5584 GB, free: 7.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.115, allocations: 25.7 kB / 0.5585 GB, free: 7.809 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.1151, allocations: 80.14 kB / 0.5586 GB, free: 7.727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.838e-06/0.1151, allocations: 3.906 kB / 0.5586 GB, free: 7.723 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.1151, allocations: 17.72 kB / 0.5586 GB, free: 7.699 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.1152, allocations: 310.8 kB / 0.5589 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.1152, allocations: 12.05 kB / 0.5589 GB, free: 7.375 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-06/0.1152, allocations: 4 kB / 0.5589 GB, free: 7.371 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.013e-05/0.1153, allocations: 12.8 kB / 0.5589 GB, free: 7.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1153, allocations: 3.938 kB / 0.5589 GB, free: 7.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.902e-05/0.1153, allocations: 37.7 kB / 0.5589 GB, free: 7.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.1153, allocations: 4 kB / 0.5589 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.1153, allocations: 0 / 0.5589 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.1153, allocations: 0 / 0.5589 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.773e-05/0.1154, allocations: 8.078 kB / 0.5589 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1154, allocations: 4 kB / 0.559 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.1154, allocations: 3.984 kB / 0.559 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.1154, allocations: 0 / 0.559 GB, free: 7.289 MB / 430.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.695e-05/0.1155, allocations: 113.8 kB / 0.5591 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.1155, allocations: 0 / 0.5591 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.001e-05/0.1156, allocations: 49.16 kB / 0.5591 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1156, allocations: 0 / 0.5591 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1156, allocations: 0 / 0.5591 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.1156, allocations: 4.031 kB / 0.5591 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.1157, allocations: 157.6 kB / 0.5593 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1157, allocations: 0 / 0.5593 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.1158, allocations: 8 kB / 0.5593 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.1158, allocations: 0 / 0.5593 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.1158, allocations: 0 / 0.5593 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1158, allocations: 3.938 kB / 0.5593 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1158, allocations: 0 / 0.5593 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.726e-05/0.1159, allocations: 147.3 kB / 0.5594 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.1159, allocations: 77.11 kB / 0.5595 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1159, allocations: 4 kB / 0.5595 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.619e-05/0.116, allocations: 0 / 0.5595 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.116, allocations: 3.984 kB / 0.5595 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.116, allocations: 0 / 0.5595 GB, free: 6.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.559e-05/0.116, allocations: 91.58 kB / 0.5596 GB, free: 6.543 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.116, allocations: 0 / 0.5596 GB, free: 6.543 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002003/0.1162, allocations: 7.938 kB / 0.5596 GB, free: 6.535 MB / 430.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.0003548/0.1166, allocations: 0.6876 MB / 0.5603 GB, free: 5.824 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.279e-05/0.1167, allocations: 15.97 kB / 0.5603 GB, free: 5.809 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1167, allocations: 4 kB / 0.5603 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.843e-06/0.1167, allocations: 0 / 0.5603 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.1169, allocations: 4 kB / 0.5603 GB, free: 5.801 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007497/0.1176, allocations: 1.161 MB / 0.5614 GB, free: 4.559 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.1178, allocations: 0.6809 MB / 0.5621 GB, free: 3.852 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.751e-05/0.1179, allocations: 7.984 kB / 0.5621 GB, free: 3.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.1179, allocations: 19.41 kB / 0.5621 GB, free: 3.824 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1179, allocations: 0 / 0.5621 GB, free: 3.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1678/0.2857, allocations: 1.23 MB / 0.5633 GB, free: 2.688 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.2859, allocations: 189.7 kB / 0.5635 GB, free: 2.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.002, allocations: 3.938 kB / 0.5635 GB, free: 2.426 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)