Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.44/1.44, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001073, allocations: 178.8 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.4 MB / 0.578 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009527/0.000953, allocations: 86.34 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003776, allocations: 9.5 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2677, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001723/0.2695, allocations: 1.136 MB / 0.902 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006503/0.2702, allocations: 407.7 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.2703, allocations: 0 / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.008e-05/0.2703, allocations: 3.938 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.2704, allocations: 7.984 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.91e-05/0.2704, allocations: 4 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.462e-05/0.2705, allocations: 15.92 kB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2706, allocations: 8 kB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.2708, allocations: 7.938 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.2709, allocations: 11.92 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.2709, allocations: 0 / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.283e-06/0.2709, allocations: 0 / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.271, allocations: 0 / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.271, allocations: 41.62 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.145e-05/0.2711, allocations: 15.98 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2711, allocations: 0 / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2711, allocations: 0 / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2711, allocations: 0 / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004039/0.2715, allocations: 319.9 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.2716, allocations: 8.031 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.2716, allocations: 34.75 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.2717, allocations: 4.875 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2718, allocations: 168.3 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2718, allocations: 4.375 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.2718, allocations: 8.312 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.574e-05/0.2719, allocations: 41.77 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2719, allocations: 0 / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.272, allocations: 0 / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.272, allocations: 4 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.649e-05/0.272, allocations: 7.984 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.2724, allocations: 248.8 kB / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/0.2724, allocations: 26.61 kB / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.2725, allocations: 16.86 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.2725, allocations: 0 / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.2725, allocations: 34.56 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.2725, allocations: 0 / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001527/0.2727, allocations: 33.83 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.2727, allocations: 63.41 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.2728, allocations: 101.8 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.2728, allocations: 25.7 kB / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.2729, allocations: 84.14 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.2729, allocations: 3.906 kB / 0.9037 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.2729, allocations: 4 kB / 0.9037 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.273, allocations: 318.8 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.273, allocations: 3.938 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-06/0.273, allocations: 12 kB / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.471e-05/0.273, allocations: 8.859 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.273, allocations: 0 / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.261e-05/0.2731, allocations: 37.7 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2731, allocations: 4 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.2731, allocations: 4 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2732, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.2732, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.2733, allocations: 12.08 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.2733, allocations: 3.938 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.2733, allocations: 0 / 0.9041 GB, free: 59.89 MB / 0.6042 GB 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 (2): * Single equations (assignments): 2 * 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 6.262e-05/0.2734, allocations: 113.8 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.2734, allocations: 7.938 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.2734, allocations: 3.125 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2734, allocations: 0 / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2734, allocations: 0 / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2734, allocations: 0 / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.2736, allocations: 157.6 kB / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2736, allocations: 4 kB / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.805e-05/0.2736, allocations: 4 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2736, allocations: 0 / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.2736, allocations: 3.938 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2736, allocations: 3.984 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2737, allocations: 0 / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.945e-05/0.2737, allocations: 139.4 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.2738, allocations: 81.14 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.2738, allocations: 3.938 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.924e-05/0.2739, allocations: 3.984 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.2739, allocations: 0 / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2739, allocations: 4 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.841e-05/0.2739, allocations: 79.28 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2739, allocations: 0 / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001954/0.2741, allocations: 4 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB 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 (2): * Single equations (assignments): 2 * 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.0002843/0.2744, allocations: 0.6734 MB / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.698e-05/0.2745, allocations: 11.94 kB / 0.9054 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2745, allocations: 0 / 0.9054 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.273e-06/0.2745, allocations: 4 kB / 0.9054 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.2747, allocations: 7.719 kB / 0.9054 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000746/0.2755, allocations: 1.18 MB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.2756, allocations: 0.677 MB / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.2756, allocations: 0 / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.2757, allocations: 7.438 kB / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of SimCode: time 1.9e-07/0.2757, allocations: 0 / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01015/0.2858, allocations: 0.8748 MB / 0.908 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.2861, allocations: 245.9 kB / 0.9083 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/1.892, allocations: 0 / 0.9083 GB, free: 55.59 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)