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.001822/0.001822, allocations: 106.1 kB / 16.4 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.002659/0.002659, allocations: 199.8 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 2.467/2.467, 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 1.356/1.356, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002907/0.002907, allocations: 69.48 kB / 0.5572 GB, free: 32.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2737, allocations: 76.18 MB / 0.6316 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.005379/0.2791, allocations: 1.334 MB / 0.6329 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002501/0.2794, allocations: 35.83 kB / 0.6329 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.2795, allocations: 0 / 0.6329 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.2797, allocations: 19.92 kB / 0.6329 GB, free: 3.477 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.28, allocations: 11.92 kB / 0.633 GB, free: 3.465 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.418e-06/0.28, allocations: 0 / 0.633 GB, free: 3.465 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2801, allocations: 19.86 kB / 0.633 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.457e-05/0.2802, allocations: 4 kB / 0.633 GB, free: 3.441 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.361e-05/0.2802, allocations: 4 kB / 0.633 GB, free: 3.438 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.834e-05/0.2804, allocations: 11.86 kB / 0.633 GB, free: 3.426 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.2804, allocations: 4 kB / 0.633 GB, free: 3.422 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.31e-05/0.2805, allocations: 12 kB / 0.633 GB, free: 3.41 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.2806, allocations: 11.92 kB / 0.633 GB, free: 3.398 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.2806, allocations: 3.938 kB / 0.633 GB, free: 3.395 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.2808, allocations: 27.92 kB / 0.633 GB, free: 3.367 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2808, allocations: 0 / 0.633 GB, free: 3.367 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2808, allocations: 0 / 0.633 GB, free: 3.367 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.2808, allocations: 0 / 0.633 GB, free: 3.367 MB / 478.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.0005532/0.2814, allocations: 338.2 kB / 0.6334 GB, free: 2.988 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.2815, allocations: 12.02 kB / 0.6334 GB, free: 2.977 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.088e-05/0.2816, allocations: 30.75 kB / 0.6334 GB, free: 2.938 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.2816, allocations: 12.84 kB / 0.6334 GB, free: 2.926 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.282, allocations: 176.3 kB / 0.6336 GB, free: 2.715 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.282, allocations: 384 / 0.6336 GB, free: 2.715 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.282, allocations: 384 / 0.6336 GB, free: 2.715 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.2822, allocations: 38.27 kB / 0.6336 GB, free: 2.672 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2822, allocations: 3.938 kB / 0.6336 GB, free: 2.668 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.2822, allocations: 0 / 0.6336 GB, free: 2.668 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.2823, allocations: 0 / 0.6336 GB, free: 2.668 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.243e-05/0.2823, allocations: 11.92 kB / 0.6336 GB, free: 2.656 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.2829, allocations: 237 kB / 0.6339 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.487e-05/0.283, allocations: 22.52 kB / 0.6339 GB, free: 2.344 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.283, allocations: 12.91 kB / 0.6339 GB, free: 2.328 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.283, allocations: 0 / 0.6339 GB, free: 2.328 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.2831, allocations: 34.5 kB / 0.6339 GB, free: 2.285 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.2831, allocations: 0 / 0.6339 GB, free: 2.285 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002129/0.2833, allocations: 41.61 kB / 0.634 GB, free: 2.238 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.2834, allocations: 51.41 kB / 0.634 GB, free: 2.176 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.2836, allocations: 114.4 kB / 0.6341 GB, free: 2.055 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.2836, allocations: 25.7 kB / 0.6342 GB, free: 2.023 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/0.2837, allocations: 92.12 kB / 0.6342 GB, free: 1.93 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.2838, allocations: 8.125 kB / 0.6343 GB, free: 1.922 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.824e-05/0.2839, allocations: 9.719 kB / 0.6343 GB, free: 1.906 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.2841, allocations: 319 kB / 0.6346 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.2841, allocations: 4 kB / 0.6346 GB, free: 1.582 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.2842, allocations: 0 / 0.6346 GB, free: 1.582 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.108e-05/0.2842, allocations: 16.78 kB / 0.6346 GB, free: 1.562 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.2843, allocations: 3.938 kB / 0.6346 GB, free: 1.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001517/0.2844, allocations: 41.64 kB / 0.6346 GB, free: 1.512 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.2845, allocations: 4 kB / 0.6346 GB, free: 1.508 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.2845, allocations: 4 kB / 0.6346 GB, free: 1.504 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.2845, allocations: 3.938 kB / 0.6346 GB, free: 1.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.684e-05/0.2846, allocations: 4.094 kB / 0.6346 GB, free: 1.496 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2846, allocations: 0 / 0.6346 GB, free: 1.496 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.2846, allocations: 0 / 0.6346 GB, free: 1.496 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.2847, allocations: 7.984 kB / 0.6347 GB, free: 1.488 MB / 478.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 0.0001093/0.2848, allocations: 113.8 kB / 0.6348 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.2848, allocations: 4 kB / 0.6348 GB, free: 1.363 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.285, allocations: 41.16 kB / 0.6348 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.285, allocations: 0 / 0.6348 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.285, allocations: 4.031 kB / 0.6348 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.285, allocations: 0 / 0.6348 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.2855, allocations: 161.6 kB / 0.635 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2855, allocations: 0 / 0.635 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/0.2855, allocations: 0 / 0.635 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2855, allocations: 0 / 0.635 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2856, allocations: 0 / 0.635 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2856, allocations: 4 kB / 0.635 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2856, allocations: 0 / 0.635 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.2858, allocations: 147.3 kB / 0.6351 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.2859, allocations: 77.11 kB / 0.6352 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.2859, allocations: 0 / 0.6352 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.2861, allocations: 0 / 0.6352 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.2861, allocations: 0 / 0.6352 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.2861, allocations: 4 kB / 0.6352 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.219e-05/0.2862, allocations: 91.27 kB / 0.6353 GB, free: 0.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2863, allocations: 0 / 0.6353 GB, free: 0.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005179/0.2868, allocations: 8 kB / 0.6353 GB, free: 0.7422 MB / 478.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.0009753/0.2878, allocations: 0.6969 MB / 0.636 GB, free: 24 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.2879, allocations: 11.97 kB / 0.636 GB, free: 12 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/0.2879, allocations: 0 / 0.636 GB, free: 12 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.638e-05/0.288, allocations: 7.938 kB / 0.636 GB, free: 4 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.2885, allocations: 0 / 0.636 GB, free: 4 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.2907, allocations: 1.172 MB / 0.6371 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.2912, allocations: 0.6768 MB / 0.6378 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.473e-05/0.2913, allocations: 12.05 kB / 0.6378 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.2914, allocations: 7.438 kB / 0.6378 GB, free: 14.03 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2914, allocations: 0 / 0.6378 GB, free: 14.03 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.3231, allocations: 1.378 MB / 0.6391 GB, free: 12.71 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.61, allocations: 6.938 kB / 0.6392 GB, free: 12.71 MB / 494.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)