Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.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.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_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.001336/0.001336, allocations: 103.1 kB / 16.27 MB, free: 5.957 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.001375/0.001375, allocations: 186.9 kB / 17.19 MB, free: 5.594 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.123/1.123, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6517/0.6517, allocations: 122.8 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 67.84 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2564, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002057/0.2585, allocations: 1.47 MB / 0.5687 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009762/0.2595, allocations: 1.102 MB / 0.5698 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.2596, allocations: 1.906 kB / 0.5698 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2597, allocations: 13.67 kB / 0.5698 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.2599, allocations: 43.27 kB / 0.5699 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.26, allocations: 55.3 kB / 0.5699 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.2602, allocations: 151.5 kB / 0.57 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.2603, allocations: 59.3 kB / 0.5701 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.107e-05/0.2604, allocations: 80.36 kB / 0.5702 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.2605, allocations: 49.92 kB / 0.5702 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.2606, allocations: 12 kB / 0.5702 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.466e-05/0.2606, allocations: 28.95 kB / 0.5703 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.2607, allocations: 60.38 kB / 0.5703 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.506e-05/0.2608, allocations: 74.23 kB / 0.5704 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.261, allocations: 195.5 kB / 0.5706 GB, free: 30.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.261, allocations: 6.094 kB / 0.5706 GB, free: 30.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.261, allocations: 0 / 0.5706 GB, free: 30.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.261, allocations: 0.6562 kB / 0.5706 GB, free: 30.58 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000511/0.2615, allocations: 0.4926 MB / 0.5711 GB, free: 30.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.2616, allocations: 10.94 kB / 0.5711 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.2616, allocations: 39.64 kB / 0.5711 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.2617, allocations: 18.34 kB / 0.5711 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.2619, allocations: 255.6 kB / 0.5714 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-05/0.262, allocations: 125.2 kB / 0.5715 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.262, allocations: 9.25 kB / 0.5715 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.2623, allocations: 157.9 kB / 0.5717 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.2623, allocations: 0 / 0.5717 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.2623, allocations: 6.047 kB / 0.5717 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.2624, allocations: 8.547 kB / 0.5717 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.23e-05/0.2624, allocations: 49.05 kB / 0.5717 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008227/0.2633, allocations: 465.1 kB / 0.5722 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/0.2633, allocations: 34.83 kB / 0.5722 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.2634, allocations: 22.81 kB / 0.5722 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.2634, allocations: 11.83 kB / 0.5722 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.2634, allocations: 38.98 kB / 0.5723 GB, free: 29.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.2634, allocations: 0 / 0.5723 GB, free: 29.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000206/0.2636, allocations: 98.61 kB / 0.5724 GB, free: 29.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.671e-05/0.2636, allocations: 56.78 kB / 0.5724 GB, free: 29.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.2638, allocations: 214.5 kB / 0.5726 GB, free: 28.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2638, allocations: 31.2 kB / 0.5726 GB, free: 28.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.2639, allocations: 121.6 kB / 0.5728 GB, free: 28.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.2639, allocations: 29.56 kB / 0.5728 GB, free: 28.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.2639, allocations: 32.92 kB / 0.5728 GB, free: 28.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.264, allocations: 328.5 kB / 0.5731 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.325e-05/0.264, allocations: 23.91 kB / 0.5732 GB, free: 28.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.2641, allocations: 104.8 kB / 0.5733 GB, free: 28.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.2642, allocations: 137.9 kB / 0.5734 GB, free: 28.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.2642, allocations: 0.5312 kB / 0.5734 GB, free: 28.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000188/0.2644, allocations: 157.1 kB / 0.5735 GB, free: 28.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2644, allocations: 7.547 kB / 0.5735 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2644, allocations: 2.719 kB / 0.5736 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2645, allocations: 4.344 kB / 0.5736 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.2646, allocations: 26.97 kB / 0.5736 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2646, allocations: 8.188 kB / 0.5736 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.2646, allocations: 9.75 kB / 0.5736 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.2646, allocations: 14.62 kB / 0.5736 GB, free: 28.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 7.564e-05/0.2647, allocations: 149.7 kB / 0.5738 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.2648, allocations: 17.22 kB / 0.5738 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.2649, allocations: 120.3 kB / 0.5739 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2649, allocations: 0 / 0.5739 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2649, allocations: 6.406 kB / 0.5739 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.265, allocations: 1.594 kB / 0.5739 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.2651, allocations: 223.1 kB / 0.5741 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2651, allocations: 1.125 kB / 0.5741 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.2652, allocations: 18.55 kB / 0.5741 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2652, allocations: 1.125 kB / 0.5741 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.2652, allocations: 2.484 kB / 0.5741 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2652, allocations: 0.5 kB / 0.5741 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2652, allocations: 5.781 kB / 0.5741 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.2653, allocations: 196.7 kB / 0.5743 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.2654, allocations: 98.34 kB / 0.5744 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.2654, allocations: 4 kB / 0.5744 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.2656, allocations: 18.17 kB / 0.5744 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.2656, allocations: 9.266 kB / 0.5744 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.2657, allocations: 12.11 kB / 0.5745 GB, free: 27.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.2658, allocations: 164.1 kB / 0.5746 GB, free: 27.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2658, allocations: 0 / 0.5746 GB, free: 27.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.266, allocations: 28.56 kB / 0.5746 GB, free: 27.33 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 (8): * Single equations (assignments): 8 * 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.0003327/0.2664, allocations: 0.7415 MB / 0.5754 GB, free: 26.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.2665, allocations: 82.88 kB / 0.5754 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2665, allocations: 0 / 0.5754 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/0.2666, allocations: 24.19 kB / 0.5755 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.2668, allocations: 25.14 kB / 0.5755 GB, free: 26.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.2682, allocations: 1.919 MB / 0.5774 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.2683, allocations: 0.7367 MB / 0.5781 GB, free: 24.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.2684, allocations: 49.83 kB / 0.5781 GB, free: 24.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.2685, allocations: 45.55 kB / 0.5782 GB, free: 24.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2685, allocations: 0 / 0.5782 GB, free: 24.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5988/0.8673, allocations: 4.177 MB / 0.5823 GB, free: 23.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/16.8, allocations: 9.094 kB / 0.5823 GB, free: 23.02 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)