Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009143/0.0009143, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.007597/0.007597, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.607/1.607, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.987/2.987, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005145/0.0005145, allocations: 9.656 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3908, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001842/0.3927, allocations: 0.9938 MB / 1.075 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.3953, allocations: 1.419 MB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.3954, allocations: 3.938 kB / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.3954, allocations: 0 / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.3956, allocations: 11.98 kB / 1.077 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007027/0.3963, allocations: 190.8 kB / 1.077 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.724e-05/0.3964, allocations: 15.94 kB / 1.077 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.545e-05/0.3965, allocations: 0 / 1.077 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.3966, allocations: 27.91 kB / 1.077 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.3967, allocations: 8 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.3967, allocations: 0 / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.3971, allocations: 151.8 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.3971, allocations: 8 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.3971, allocations: 41.62 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.3975, allocations: 143.7 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3975, allocations: 0 / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.796e-06/0.3975, allocations: 0 / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.3975, allocations: 0 / 1.077 GB, free: 4.527 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004015/0.3979, allocations: 355.8 kB / 1.077 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.398, allocations: 12.03 kB / 1.077 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.628e-05/0.3981, allocations: 84.11 kB / 1.077 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.3983, allocations: 239.7 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.996e-05/0.3983, allocations: 162.9 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.3984, allocations: 154.7 kB / 1.078 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.3985, allocations: 109 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.3986, allocations: 75.28 kB / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.3986, allocations: 154.6 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/0.3987, allocations: 154.5 kB / 1.078 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.001e-05/0.3988, allocations: 150.6 kB / 1.079 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.3991, allocations: 453.9 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.3992, allocations: 173.1 kB / 1.079 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.3993, allocations: 88.08 kB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.3993, allocations: 79.22 kB / 1.079 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.3994, allocations: 105.8 kB / 1.08 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.3994, allocations: 0 / 1.08 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.969e-05/0.3995, allocations: 29.7 kB / 1.08 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.3995, allocations: 130.7 kB / 1.08 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.3997, allocations: 106 kB / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3997, allocations: 29.7 kB / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.3998, allocations: 80.14 kB / 1.08 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-06/0.3998, allocations: 0 / 1.08 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.3998, allocations: 9.719 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4, allocations: 318.8 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.4, allocations: 3.984 kB / 1.08 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.4001, allocations: 34.45 kB / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.117e-05/0.4001, allocations: 22.58 kB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4001, allocations: 0 / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001657/0.4003, allocations: 57.47 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.4003, allocations: 8 kB / 1.08 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4004, allocations: 4.156 kB / 1.08 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.4004, allocations: 4 kB / 1.08 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.4005, allocations: 11.92 kB / 1.08 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4005, allocations: 4 kB / 1.08 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.4007, allocations: 4 kB / 1.08 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.4007, allocations: 0 / 1.08 GB, free: 0.9414 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 0.0001528/0.4009, allocations: 193.1 kB / 1.081 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.51e-05/0.401, allocations: 104.9 kB / 1.081 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.858e-05/0.4011, allocations: 123.9 kB / 1.081 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.931e-05/0.4012, allocations: 180.2 kB / 1.081 GB, free: 328 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001146/0.4013, allocations: 176.3 kB / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001105/0.4014, allocations: 184.2 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.4017, allocations: 405.2 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.754e-05/0.4017, allocations: 112.9 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.4018, allocations: 105 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.4019, allocations: 180.3 kB / 1.082 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.527e-05/0.402, allocations: 184.2 kB / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.327e-05/0.4021, allocations: 176.3 kB / 1.082 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.955e-05/0.4021, allocations: 184.2 kB / 1.083 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.4023, allocations: 315.9 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.158e-05/0.4024, allocations: 182.1 kB / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-05/0.4025, allocations: 180.2 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/0.4026, allocations: 104.9 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/0.4027, allocations: 184.3 kB / 1.083 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.4027, allocations: 108.9 kB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.727e-05/0.4027, allocations: 79.28 kB / 1.084 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4027, allocations: 0 / 1.084 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003581/0.4031, allocations: 59.92 kB / 1.084 GB, free: 13.27 MB / 0.8419 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 (0): * Single equations (assignments): 0 * 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.0006553/0.4038, allocations: 342 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.985e-05/0.4039, allocations: 19.98 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4039, allocations: 0 / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-06/0.4039, allocations: 0 / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.4044, allocations: 0.523 MB / 1.085 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.4048, allocations: 186 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.4052, allocations: 0.6692 MB / 1.085 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.501e-05/0.4053, allocations: 4 kB / 1.085 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.4053, allocations: 11.42 kB / 1.085 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of SimCode: time 1.113e-06/0.4053, allocations: 0 / 1.085 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.005759/0.4111, allocations: 1.586 MB / 1.087 GB, free: 9.93 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)