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.001128/0.001128, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 210.2 kB / 16.79 MB, free: 6.84 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.13/1.13, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5929/0.5929, allocations: 115.3 MB / 405.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 60.41 kB / 493 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1041, allocations: 76.19 MB / 0.5558 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002132/0.1063, allocations: 1.417 MB / 0.5572 GB, free: 9.328 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001206/0.1064, allocations: 35.83 kB / 0.5573 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.1065, allocations: 4 kB / 0.5573 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.1066, allocations: 15.92 kB / 0.5573 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.798e-05/0.1067, allocations: 8 kB / 0.5573 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.886e-06/0.1067, allocations: 0 / 0.5573 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.834e-05/0.1068, allocations: 19.92 kB / 0.5573 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.524e-05/0.1068, allocations: 0 / 0.5573 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.398e-05/0.1068, allocations: 7.938 kB / 0.5573 GB, free: 9.238 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.494e-05/0.1069, allocations: 19.91 kB / 0.5573 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1069, allocations: 0 / 0.5573 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.835e-05/0.1069, allocations: 8 kB / 0.5573 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.107, allocations: 4 kB / 0.5573 GB, free: 9.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.107, allocations: 11.88 kB / 0.5574 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.95e-05/0.1071, allocations: 35.89 kB / 0.5574 GB, free: 9.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1071, allocations: 0 / 0.5574 GB, free: 9.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1071, allocations: 0 / 0.5574 GB, free: 9.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.1071, 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.0002702/0.1074, allocations: 337.6 kB / 0.5577 GB, free: 8.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1074, allocations: 12.03 kB / 0.5577 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.619e-05/0.1075, allocations: 30.75 kB / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.95e-05/0.1075, allocations: 12.81 kB / 0.5578 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.1076, allocations: 180.3 kB / 0.5579 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-06/0.1076, allocations: 384 / 0.5579 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.1076, allocations: 384 / 0.5579 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.481e-05/0.1077, allocations: 34.25 kB / 0.558 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1077, allocations: 3.938 kB / 0.558 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.1077, allocations: 0 / 0.558 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.1078, allocations: 4 kB / 0.558 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.1078, allocations: 3.938 kB / 0.558 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.1079, allocations: 157.7 kB / 0.5581 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.389e-05/0.108, allocations: 18.61 kB / 0.5582 GB, free: 8.223 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.108, allocations: 8.859 kB / 0.5582 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.108, allocations: 0 / 0.5582 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.108, allocations: 34.62 kB / 0.5582 GB, free: 8.168 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.108, allocations: 0 / 0.5582 GB, free: 8.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001067/0.1081, allocations: 41.56 kB / 0.5582 GB, free: 8.121 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.1082, allocations: 59.53 kB / 0.5583 GB, free: 8.051 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/0.1083, allocations: 117.8 kB / 0.5584 GB, free: 7.926 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.1083, allocations: 25.7 kB / 0.5584 GB, free: 7.895 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.876e-05/0.1083, allocations: 84.14 kB / 0.5585 GB, free: 7.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.1083, allocations: 4 kB / 0.5585 GB, free: 7.805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.1084, allocations: 9.719 kB / 0.5585 GB, free: 7.789 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.1085, allocations: 318.8 kB / 0.5588 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.1085, allocations: 4 kB / 0.5588 GB, free: 7.465 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.1085, allocations: 4 kB / 0.5588 GB, free: 7.461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.754e-05/0.1085, allocations: 12.86 kB / 0.5588 GB, free: 7.445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1085, allocations: 0 / 0.5588 GB, free: 7.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.365e-05/0.1086, allocations: 41.62 kB / 0.5589 GB, free: 7.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1086, allocations: 10.59 kB / 0.5589 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1086, allocations: 0 / 0.5589 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.1086, allocations: 0 / 0.5589 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.849e-05/0.1087, allocations: 4 kB / 0.5589 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.1087, allocations: 4.094 kB / 0.5589 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.1087, allocations: 0 / 0.5589 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1087, allocations: 3.938 kB / 0.5589 GB, free: 7.379 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.604e-05/0.1088, allocations: 113.8 kB / 0.559 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.1088, allocations: 7.844 kB / 0.559 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.779e-05/0.1089, allocations: 49.09 kB / 0.5591 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1089, allocations: 0 / 0.5591 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1089, allocations: 0 / 0.5591 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.1089, allocations: 0 / 0.5591 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.279e-05/0.109, allocations: 161.7 kB / 0.5592 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.109, allocations: 4 kB / 0.5592 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.135e-05/0.109, allocations: 0 / 0.5592 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.109, allocations: 3.938 kB / 0.5592 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.109, allocations: 4 kB / 0.5592 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.109, allocations: 0 / 0.5592 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.109, allocations: 0 / 0.5592 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.174e-05/0.1091, allocations: 69.12 kB / 0.5593 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.1091, allocations: 81.02 kB / 0.5594 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.1091, allocations: 3.938 kB / 0.5594 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-06/0.1091, allocations: 0 / 0.5594 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-06/0.1092, allocations: 3.938 kB / 0.5594 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.1092, allocations: 0 / 0.5594 GB, free: 6.785 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.018e-05/0.1092, allocations: 103.2 kB / 0.5595 GB, free: 6.684 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1092, allocations: 0 / 0.5595 GB, free: 6.684 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001669/0.1094, allocations: 4 kB / 0.5595 GB, free: 6.68 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.000313/0.1097, allocations: 0.6115 MB / 0.5601 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.877e-05/0.1098, allocations: 8 kB / 0.5601 GB, free: 6.039 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1098, allocations: 4.094 kB / 0.5601 GB, free: 6.035 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.287e-06/0.1098, allocations: 3.938 kB / 0.5601 GB, free: 6.031 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.1099, allocations: 7.938 kB / 0.5601 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000723/0.1106, allocations: 1.112 MB / 0.5612 GB, free: 4.828 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.1109, allocations: 0.6809 MB / 0.5619 GB, free: 4.121 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.405e-05/0.1109, allocations: 3.984 kB / 0.5619 GB, free: 4.117 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.1109, allocations: 11.44 kB / 0.5619 GB, free: 4.105 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1109, allocations: 4.031 kB / 0.5619 GB, free: 4.102 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4053/0.5163, allocations: 1.243 MB / 0.5631 GB, free: 2.961 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000356/0.5167, allocations: 213.9 kB / 0.5633 GB, free: 2.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.489, allocations: 3.938 kB / 0.5633 GB, free: 2.695 MB / 430.1 MB (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)