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.001152/0.001152, allocations: 100.8 kB / 16.27 MB, free: 6.41 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.001167/0.001167, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.199/1.199, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6567/0.6567, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001187, allocations: 59.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2472, allocations: 77.92 MB / 0.5673 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001929/0.2492, allocations: 1.348 MB / 0.5686 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001158/0.2493, allocations: 46.41 kB / 0.5686 GB, free: 31.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.2494, allocations: 1.281 kB / 0.5686 GB, free: 31.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.2495, allocations: 12.55 kB / 0.5687 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.933e-05/0.2496, allocations: 13.23 kB / 0.5687 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.507e-06/0.2496, allocations: 0 / 0.5687 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.277e-05/0.2497, allocations: 22.25 kB / 0.5687 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.2497, allocations: 7.328 kB / 0.5687 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.222e-05/0.2497, allocations: 8.234 kB / 0.5687 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.2498, allocations: 12.44 kB / 0.5687 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.2498, allocations: 1.969 kB / 0.5687 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.766e-05/0.2498, allocations: 8.141 kB / 0.5687 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/0.2499, allocations: 12.11 kB / 0.5687 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.681e-05/0.2499, allocations: 9.875 kB / 0.5687 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.778e-05/0.25, allocations: 33.22 kB / 0.5688 GB, free: 31.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.25, allocations: 2.781 kB / 0.5688 GB, free: 31.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.25, allocations: 1.5 kB / 0.5688 GB, free: 31.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.25, allocations: 0.9375 kB / 0.5688 GB, free: 31.78 MB / 446.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.0002019/0.2502, allocations: 334.3 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.2502, allocations: 9.188 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.704e-05/0.2503, allocations: 31.91 kB / 0.5691 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.049e-05/0.2503, allocations: 7.375 kB / 0.5691 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.592e-05/0.2504, allocations: 176.3 kB / 0.5693 GB, free: 31.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-06/0.2504, allocations: 2.125 kB / 0.5693 GB, free: 31.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.2504, allocations: 4.875 kB / 0.5693 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.962e-05/0.2505, allocations: 31.09 kB / 0.5694 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-06/0.2505, allocations: 5.469 kB / 0.5694 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.2505, allocations: 5.078 kB / 0.5694 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.2505, allocations: 2.016 kB / 0.5694 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.666e-05/0.2505, allocations: 6.375 kB / 0.5694 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.376e-05/0.2506, allocations: 155.9 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.711e-05/0.2507, allocations: 20.02 kB / 0.5695 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.253e-05/0.2507, allocations: 8.562 kB / 0.5695 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.2507, allocations: 1.594 kB / 0.5695 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.128e-05/0.2507, allocations: 31.28 kB / 0.5696 GB, free: 30.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.2507, allocations: 1.844 kB / 0.5696 GB, free: 30.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 9.242e-05/0.2508, allocations: 51.58 kB / 0.5696 GB, free: 30.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.54e-05/0.2508, allocations: 52.28 kB / 0.5697 GB, free: 30.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.781e-05/0.2509, allocations: 116.5 kB / 0.5698 GB, free: 30.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.769e-06/0.2509, allocations: 25.7 kB / 0.5698 GB, free: 30.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.6e-05/0.2509, allocations: 82.44 kB / 0.5699 GB, free: 30.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.251, allocations: 9.969 kB / 0.5699 GB, free: 30.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.251, allocations: 13.02 kB / 0.5699 GB, free: 30.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.071e-05/0.251, allocations: 314.4 kB / 0.5702 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-06/0.251, allocations: 1.984 kB / 0.5702 GB, free: 30.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-06/0.251, allocations: 3.062 kB / 0.5702 GB, free: 30.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.954e-05/0.2511, allocations: 14.11 kB / 0.5702 GB, free: 30.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2511, allocations: 6.812 kB / 0.5702 GB, free: 30.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.418e-05/0.2511, allocations: 42.22 kB / 0.5703 GB, free: 30.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.2511, allocations: 9.406 kB / 0.5703 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/0.2511, allocations: 0 / 0.5703 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.2512, allocations: 1.031 kB / 0.5703 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.474e-05/0.2512, allocations: 3.562 kB / 0.5703 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.2512, allocations: 0 / 0.5703 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.06e-05/0.2512, allocations: 0.5 kB / 0.5703 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.2512, allocations: 1.969 kB / 0.5703 GB, free: 30.13 MB / 446.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 3.538e-05/0.2513, allocations: 114.8 kB / 0.5704 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.2513, allocations: 9.078 kB / 0.5704 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.227e-05/0.2513, allocations: 51.78 kB / 0.5705 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2514, allocations: 1.688 kB / 0.5705 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2514, allocations: 0 / 0.5705 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2514, allocations: 1.688 kB / 0.5705 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.732e-05/0.2514, allocations: 156.8 kB / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.2514, allocations: 0 / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.111e-05/0.2514, allocations: 2.344 kB / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2515, allocations: 5.203 kB / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.2515, allocations: 2.125 kB / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.2515, allocations: 0 / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2515, allocations: 1.125 kB / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.59e-05/0.2515, allocations: 65.16 kB / 0.5707 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.2515, allocations: 79.66 kB / 0.5708 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.2516, allocations: 8.531 kB / 0.5708 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-06/0.2516, allocations: 6.812 kB / 0.5708 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-06/0.2516, allocations: 1.031 kB / 0.5708 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.2516, allocations: 1.188 kB / 0.5708 GB, free: 29.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.231e-05/0.2516, allocations: 90.83 kB / 0.5709 GB, free: 29.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2516, allocations: 2.719 kB / 0.5709 GB, free: 29.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001658/0.2518, allocations: 3.156 kB / 0.5709 GB, free: 29.51 MB / 446.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.000222/0.252, allocations: 0.6113 MB / 0.5715 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.433e-05/0.2521, allocations: 8.984 kB / 0.5715 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2521, allocations: 0.625 kB / 0.5715 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.324e-06/0.2521, allocations: 4.281 kB / 0.5715 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.2522, allocations: 6.609 kB / 0.5715 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005557/0.2528, allocations: 1.11 MB / 0.5726 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.055e-05/0.2529, allocations: 0.6822 MB / 0.5732 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.17e-05/0.2529, allocations: 5.344 kB / 0.5732 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.2529, allocations: 9.672 kB / 0.5733 GB, free: 27.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2529, allocations: 0 / 0.5733 GB, free: 27.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6171/0.87, allocations: 1.369 MB / 0.5746 GB, free: 26.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.54, allocations: 14.27 kB / 0.5746 GB, free: 26.76 MB / 446.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)