Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 195.7 kB / 16.53 MB, free: 6.391 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.847/2.847, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 71.84 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3673, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002697/0.37, allocations: 1.475 MB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007559/0.3708, allocations: 482.6 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.3708, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.3709, allocations: 3.938 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.3711, allocations: 27.84 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.6e-05/0.3712, allocations: 11.92 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.877e-05/0.3713, allocations: 51.8 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3714, allocations: 8 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.711e-05/0.3715, allocations: 31.91 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.834e-05/0.3716, allocations: 27.84 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.3716, allocations: 4 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.3716, allocations: 4 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.3717, allocations: 4 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.3717, allocations: 27.86 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.594e-05/0.3718, allocations: 44.09 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3718, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3718, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3719, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005802/0.3724, allocations: 355.4 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3725, allocations: 8.031 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.3725, allocations: 4.844 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.3727, allocations: 168.4 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3727, allocations: 4.375 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.3727, allocations: 4.359 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.3729, allocations: 57.94 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3729, allocations: 0 / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3729, allocations: 4 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3729, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.139e-05/0.373, allocations: 23.98 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.3734, allocations: 268.8 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3735, allocations: 50.5 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.3735, allocations: 20.84 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.3735, allocations: 4 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.3738, allocations: 67.48 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.3738, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002336/0.374, allocations: 81.67 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3741, allocations: 55.34 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.05e-05/0.3742, allocations: 121.8 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3742, allocations: 25.7 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.3742, allocations: 91.98 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.3743, allocations: 23.81 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.3743, allocations: 17.72 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3744, allocations: 314.8 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.373e-05/0.3745, allocations: 15.98 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.3745, allocations: 12 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.935e-05/0.3746, allocations: 28.86 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3746, allocations: 0 / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001066/0.3747, allocations: 73.53 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3747, allocations: 8 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3747, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3747, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.3748, allocations: 11.98 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3748, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.706e-05/0.3749, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3749, allocations: 4 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.853e-05/0.375, allocations: 117.8 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.375, allocations: 11.91 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.3751, allocations: 7.969 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3751, allocations: 0 / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3751, allocations: 4 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3751, allocations: 0 / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.3752, allocations: 174 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3753, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.774e-05/0.3753, allocations: 8 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3753, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3753, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3753, allocations: 4 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3753, allocations: 7.938 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.3755, allocations: 97.05 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.3755, allocations: 81.02 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.3755, allocations: 4 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.594e-05/0.3756, allocations: 0 / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.3757, allocations: 7.984 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3757, allocations: 0 / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.528e-05/0.3757, allocations: 99.27 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.664e-06/0.3757, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001859/0.3759, allocations: 15.88 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001235/0.3761, allocations: 99.78 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.3762, allocations: 43.86 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3762, allocations: 3.938 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.298e-05/0.3763, allocations: 16 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.3764, allocations: 12.5 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.3768, allocations: 142 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.377, allocations: 0.6807 MB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.467e-05/0.3771, allocations: 7.984 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.3771, allocations: 11.44 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3771, allocations: 0 / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of Templates: time 0.002608/0.3797, allocations: 0.5402 MB / 1.074 GB, free: 3.773 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)