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.001838/0.001838, allocations: 103.1 kB / 16.4 MB, free: 6.492 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.002238/0.002238, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.362/2.362, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.434/1.434, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 71.28 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2643, allocations: 76.18 MB / 0.6316 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.007205/0.2716, allocations: 1.349 MB / 0.6329 GB, free: 3.582 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000329/0.272, allocations: 43.81 kB / 0.6329 GB, free: 3.539 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.2722, allocations: 0 / 0.6329 GB, free: 3.539 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.2727, allocations: 11.94 kB / 0.6329 GB, free: 3.527 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.2731, allocations: 15.92 kB / 0.633 GB, free: 3.512 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.528e-06/0.2732, allocations: 0 / 0.633 GB, free: 3.512 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.2734, allocations: 23.86 kB / 0.633 GB, free: 3.488 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.2735, allocations: 4 kB / 0.633 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.18e-05/0.2736, allocations: 7.984 kB / 0.633 GB, free: 3.477 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.2738, allocations: 7.938 kB / 0.633 GB, free: 3.469 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.2738, allocations: 4 kB / 0.633 GB, free: 3.465 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.274, allocations: 11.98 kB / 0.633 GB, free: 3.453 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.2741, allocations: 7.938 kB / 0.633 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.2742, allocations: 3.938 kB / 0.633 GB, free: 3.441 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.2745, allocations: 35.89 kB / 0.6331 GB, free: 3.406 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.2745, allocations: 0 / 0.6331 GB, free: 3.406 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.651e-06/0.2745, allocations: 4 kB / 0.6331 GB, free: 3.402 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.2746, allocations: 0 / 0.6331 GB, free: 3.402 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.0007579/0.2753, allocations: 338.2 kB / 0.6334 GB, free: 3.023 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.95e-05/0.2754, allocations: 12.03 kB / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.2755, allocations: 30.75 kB / 0.6334 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.2756, allocations: 0.9375 kB / 0.6334 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.2759, allocations: 176.3 kB / 0.6336 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.276, allocations: 384 / 0.6336 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.276, allocations: 4.375 kB / 0.6336 GB, free: 2.758 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.2762, allocations: 34.25 kB / 0.6336 GB, free: 2.719 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.2762, allocations: 7.875 kB / 0.6336 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.2762, allocations: 4 kB / 0.6336 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/0.2763, allocations: 3.938 kB / 0.6336 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.417e-05/0.2763, allocations: 0 / 0.6336 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.2766, allocations: 157.7 kB / 0.6338 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.447e-05/0.2767, allocations: 18.61 kB / 0.6338 GB, free: 2.473 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.2768, allocations: 8.859 kB / 0.6338 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.2768, allocations: 0 / 0.6338 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.2769, allocations: 34.62 kB / 0.6339 GB, free: 2.418 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.2769, allocations: 0 / 0.6339 GB, free: 2.418 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002614/0.2771, allocations: 49.56 kB / 0.6339 GB, free: 2.363 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.2772, allocations: 51.41 kB / 0.634 GB, free: 2.301 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.2775, allocations: 121.7 kB / 0.6341 GB, free: 2.172 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.2775, allocations: 25.7 kB / 0.6341 GB, free: 2.141 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.2776, allocations: 88.27 kB / 0.6342 GB, free: 2.051 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.2777, allocations: 4 kB / 0.6342 GB, free: 2.047 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.2777, allocations: 9.719 kB / 0.6342 GB, free: 2.031 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.2779, allocations: 314.8 kB / 0.6345 GB, free: 1.715 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.278, allocations: 4 kB / 0.6345 GB, free: 1.711 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/0.278, allocations: 4 kB / 0.6345 GB, free: 1.707 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.456e-05/0.2781, allocations: 20.73 kB / 0.6345 GB, free: 1.684 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2781, allocations: 4.062 kB / 0.6345 GB, free: 1.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001237/0.2782, allocations: 33.7 kB / 0.6346 GB, free: 1.641 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.2783, allocations: 11.92 kB / 0.6346 GB, free: 1.629 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.2783, allocations: 4 kB / 0.6346 GB, free: 1.625 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.2783, allocations: 0 / 0.6346 GB, free: 1.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.298e-05/0.2784, allocations: 0 / 0.6346 GB, free: 1.625 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2784, allocations: 0 / 0.6346 GB, free: 1.625 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.2785, allocations: 0.5625 kB / 0.6346 GB, free: 1.625 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2785, allocations: 4 kB / 0.6346 GB, free: 1.621 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.0001361/0.2786, allocations: 114.5 kB / 0.6347 GB, free: 1.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.2787, allocations: 11.84 kB / 0.6347 GB, free: 1.488 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.2788, allocations: 45.16 kB / 0.6347 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2789, allocations: 0 / 0.6347 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2789, allocations: 0 / 0.6347 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2789, allocations: 4 kB / 0.6347 GB, free: 1.43 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.2791, allocations: 153.7 kB / 0.6349 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2791, allocations: 3.938 kB / 0.6349 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.2792, allocations: 3.984 kB / 0.6349 GB, free: 1.223 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.2792, allocations: 3.969 kB / 0.6349 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2792, allocations: 4 kB / 0.6349 GB, free: 1.215 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.2792, allocations: 4 kB / 0.6349 GB, free: 1.211 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2792, allocations: 0 / 0.6349 GB, free: 1.211 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.2793, allocations: 61.08 kB / 0.635 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.96e-05/0.2794, allocations: 85.28 kB / 0.635 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.2795, allocations: 3.938 kB / 0.635 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.761e-05/0.2795, allocations: 0 / 0.635 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.2795, allocations: 8.016 kB / 0.6351 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.2796, allocations: 4 kB / 0.6351 GB, free: 1.016 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.192e-05/0.2797, allocations: 91.27 kB / 0.6351 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2797, allocations: 0 / 0.6351 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.28, allocations: 4 kB / 0.6352 GB, free: 0.9219 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.0008133/0.2808, allocations: 0.6124 MB / 0.6357 GB, free: 288 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.281, allocations: 11.88 kB / 0.6358 GB, free: 276 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.281, allocations: 0 / 0.6358 GB, free: 276 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.766e-05/0.281, allocations: 4 kB / 0.6358 GB, free: 272 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.2813, allocations: 2.031 kB / 0.6358 GB, free: 272 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.2835, allocations: 1.121 MB / 0.6369 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007149/0.2843, allocations: 0.6729 MB / 0.6375 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.2844, allocations: 11.92 kB / 0.6375 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.2845, allocations: 15.44 kB / 0.6375 GB, free: 14.34 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2845, allocations: 0 / 0.6375 GB, free: 14.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.3177, allocations: 1.402 MB / 0.6389 GB, free: 13.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.79, allocations: 8.062 kB / 0.6389 GB, free: 13.02 MB / 494.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)