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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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.001146/0.001146, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.00141/0.00141, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5608/0.5608, allocations: 95.57 MB / 365.9 MB, free: 10.41 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005668/0.000567, allocations: 20 kB / 446.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2703, allocations: 70.34 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001234/0.2716, allocations: 1.094 MB / 0.5061 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004388/0.2721, allocations: 384.2 kB / 0.5064 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.2721, allocations: 4 kB / 0.5064 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.06e-05/0.2721, allocations: 0 / 0.5064 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.352e-05/0.2722, allocations: 4 kB / 0.5065 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.611e-05/0.2722, allocations: 4 kB / 0.5065 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.934e-05/0.2723, allocations: 11.98 kB / 0.5065 GB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.687e-05/0.2723, allocations: 3.984 kB / 0.5065 GB, free: 15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2725, allocations: 7.938 kB / 0.5065 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.834e-05/0.2725, allocations: 4 kB / 0.5065 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.2725, allocations: 3.938 kB / 0.5065 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.95e-06/0.2725, allocations: 7.938 kB / 0.5065 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.2725, allocations: 3.984 kB / 0.5065 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.2726, allocations: 33.7 kB / 0.5065 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 3.691e-05/0.2726, allocations: 3.984 kB / 0.5065 GB, free: 14.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.2726, allocations: 3.938 kB / 0.5065 GB, free: 14.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2726, allocations: 0 / 0.5065 GB, free: 14.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.2726, allocations: 0 / 0.5065 GB, free: 14.93 MB / 382.1 MB 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.000242/0.2729, allocations: 321.3 kB / 0.5068 GB, free: 14.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.2729, allocations: 11.98 kB / 0.5069 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.2729, allocations: 0 / 0.5069 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.37e-05/0.273, allocations: 175 kB / 0.507 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.273, allocations: 7.953 kB / 0.507 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.273, allocations: 0 / 0.507 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.052e-05/0.2731, allocations: 29.7 kB / 0.5071 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2731, allocations: 0 / 0.5071 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.2731, allocations: 0 / 0.5071 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2732, allocations: 4 kB / 0.5071 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.906e-05/0.2732, allocations: 11.98 kB / 0.5071 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/0.2734, allocations: 244.8 kB / 0.5073 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.274e-05/0.2735, allocations: 26.61 kB / 0.5073 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.2735, allocations: 0 / 0.5073 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.2735, allocations: 30.56 kB / 0.5074 GB, free: 13.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.2735, allocations: 4.062 kB / 0.5074 GB, free: 13.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001179/0.2737, allocations: 41.77 kB / 0.5074 GB, free: 13.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.744e-05/0.2737, allocations: 55.41 kB / 0.5075 GB, free: 13.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.813e-05/0.2737, allocations: 101.8 kB / 0.5076 GB, free: 13.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.3e-06/0.2737, allocations: 25.7 kB / 0.5076 GB, free: 13.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.176e-05/0.2738, allocations: 80.14 kB / 0.5077 GB, free: 13.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.2738, allocations: 3.906 kB / 0.5077 GB, free: 13.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.2738, allocations: 0 / 0.5077 GB, free: 13.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.208e-05/0.2738, allocations: 318.8 kB / 0.508 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.377e-06/0.2739, allocations: 4.125 kB / 0.508 GB, free: 13.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.2739, allocations: 4 kB / 0.508 GB, free: 13.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.445e-05/0.2739, allocations: 3.953 kB / 0.508 GB, free: 13.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2739, allocations: 0 / 0.508 GB, free: 13.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.985e-05/0.2739, allocations: 49.53 kB / 0.508 GB, free: 13.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.274, allocations: 11.94 kB / 0.508 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.274, allocations: 0 / 0.508 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.274, allocations: 0 / 0.508 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.692e-05/0.274, allocations: 4 kB / 0.508 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.274, allocations: 96 / 0.508 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.47e-05/0.2741, allocations: 7.938 kB / 0.508 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.2741, allocations: 0 / 0.508 GB, free: 13.17 MB / 382.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.2741, allocations: 113.8 kB / 0.5082 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.2741, allocations: 4 kB / 0.5082 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.678e-05/0.2742, allocations: 11.06 kB / 0.5082 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2742, allocations: 0 / 0.5082 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2742, allocations: 0 / 0.5082 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.2742, allocations: 0 / 0.5082 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.2743, allocations: 157.7 kB / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2743, allocations: 7.953 kB / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.861e-05/0.2743, allocations: 4 kB / 0.5083 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2743, allocations: 0 / 0.5083 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.2743, allocations: 0 / 0.5083 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2744, allocations: 0 / 0.5083 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2744, allocations: 4 kB / 0.5083 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.991e-05/0.2744, allocations: 139.5 kB / 0.5085 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.2744, allocations: 81.09 kB / 0.5085 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.497e-06/0.2745, allocations: 4 kB / 0.5085 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-05/0.2745, allocations: 4 kB / 0.5086 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-06/0.2745, allocations: 0 / 0.5086 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.2745, allocations: 4 kB / 0.5086 GB, free: 12.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.382e-05/0.2746, allocations: 75.28 kB / 0.5086 GB, free: 12.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2746, allocations: 0 / 0.5086 GB, free: 12.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000205/0.2748, allocations: 4 kB / 0.5086 GB, free: 12.47 MB / 382.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.676e-05/0.2748, allocations: 103.3 kB / 0.5087 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.889e-05/0.2749, allocations: 12 kB / 0.5087 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2749, allocations: 0 / 0.5087 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.177e-06/0.2749, allocations: 7.938 kB / 0.5087 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.2751, allocations: 0 / 0.5087 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001782/0.2752, allocations: 112.8 kB / 0.5089 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.012e-05/0.2753, allocations: 0.6811 MB / 0.5095 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.687e-05/0.2754, allocations: 0 / 0.5095 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.2754, allocations: 11.44 kB / 0.5095 GB, free: 11.49 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2754, allocations: 0 / 0.5095 GB, free: 11.49 MB / 382.1 MB Notification: Performance of Templates: time 0.001606/0.277, allocations: 195.9 kB / 0.5097 GB, free: 11.3 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: