Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_9_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.001553/0.001553, allocations: 100.1 kB / 15.88 MB, free: 12 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.001912/0.001912, allocations: 196 kB / 16.79 MB, free: 6.809 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.523/2.523, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7178/0.7194, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002037/0.7214, allocations: 1.338 MB / 0.9509 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.7231, allocations: 1.425 MB / 0.9523 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.7232, allocations: 3.938 kB / 0.9523 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.7232, allocations: 3.938 kB / 0.9523 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.7234, allocations: 11.16 kB / 0.9523 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.7239, allocations: 197.9 kB / 0.9525 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.134e-05/0.7239, allocations: 19.67 kB / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.724, allocations: 1.312 kB / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.7241, allocations: 16.92 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.7242, allocations: 13.05 kB / 0.9525 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.7242, allocations: 1.156 kB / 0.9525 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.7244, allocations: 144.2 kB / 0.9527 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.7245, allocations: 10.25 kB / 0.9527 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.7245, allocations: 8.156 kB / 0.9527 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.7247, allocations: 99.28 kB / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7247, allocations: 0 / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7247, allocations: 1.031 kB / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.7247, allocations: 0 / 0.9528 GB, free: 6.691 MB / 0.7169 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.0002988/0.725, allocations: 373.1 kB / 0.9531 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.725, allocations: 9.25 kB / 0.9532 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.7251, allocations: 77.53 kB / 0.9532 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.972e-05/0.7252, allocations: 245 kB / 0.9535 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.7252, allocations: 160.2 kB / 0.9536 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.7253, allocations: 162.4 kB / 0.9538 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.878e-05/0.7253, allocations: 101 kB / 0.9539 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.7253, allocations: 75.28 kB / 0.9539 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.7254, allocations: 151.7 kB / 0.9541 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.7254, allocations: 154.6 kB / 0.9542 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.7254, allocations: 151.8 kB / 0.9544 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.7256, allocations: 453.4 kB / 0.9548 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/0.7257, allocations: 174.2 kB / 0.955 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.7257, allocations: 89.27 kB / 0.9551 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.7257, allocations: 75.28 kB / 0.9551 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.7257, allocations: 107 kB / 0.9552 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.7257, allocations: 0 / 0.9552 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.047e-05/0.7258, allocations: 39.84 kB / 0.9553 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.7258, allocations: 126.7 kB / 0.9554 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.7259, allocations: 102.1 kB / 0.9555 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.7259, allocations: 29.7 kB / 0.9555 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.347e-05/0.726, allocations: 90.19 kB / 0.9556 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.726, allocations: 0 / 0.9556 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.726, allocations: 18.97 kB / 0.9556 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.244e-05/0.726, allocations: 316.2 kB / 0.9559 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.7261, allocations: 6.609 kB / 0.9559 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/0.7261, allocations: 28.7 kB / 0.956 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.46e-05/0.7261, allocations: 27.67 kB / 0.956 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7262, allocations: 0 / 0.956 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001155/0.7263, allocations: 58.47 kB / 0.956 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.7263, allocations: 6.438 kB / 0.956 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.7263, allocations: 3.938 kB / 0.956 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.7263, allocations: 1.5 kB / 0.956 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.7264, allocations: 13.27 kB / 0.9561 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.7264, allocations: 0 / 0.9561 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.7266, allocations: 5.062 kB / 0.9561 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.7266, allocations: 6.281 kB / 0.9561 GB, free: 3.188 MB / 0.7169 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 5.558e-05/0.7266, allocations: 187.7 kB / 0.9563 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.7267, allocations: 110.1 kB / 0.9564 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.7267, allocations: 113 kB / 0.9565 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.7267, allocations: 181.8 kB / 0.9566 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/0.7268, allocations: 180.3 kB / 0.9568 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/0.7268, allocations: 181.5 kB / 0.957 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.7269, allocations: 404 kB / 0.9574 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.7269, allocations: 110.5 kB / 0.9575 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-05/0.727, allocations: 108.9 kB / 0.9576 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-05/0.727, allocations: 177.8 kB / 0.9577 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.727, allocations: 177.8 kB / 0.9579 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.179e-05/0.727, allocations: 180.2 kB / 0.9581 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.19e-05/0.7271, allocations: 177.6 kB / 0.9583 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.433e-05/0.7271, allocations: 323.9 kB / 0.9586 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/0.7272, allocations: 183.5 kB / 0.9587 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.7272, allocations: 181.7 kB / 0.9589 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.7273, allocations: 105.2 kB / 0.959 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.7274, allocations: 185.7 kB / 0.9592 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.7274, allocations: 106.3 kB / 0.9593 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.7275, allocations: 83.53 kB / 0.9594 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7275, allocations: 0 / 0.9594 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000314/0.7278, allocations: 54.67 kB / 0.9594 GB, free: 15.59 MB / 0.7325 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.0005587/0.7283, allocations: 341.8 kB / 0.9598 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.001e-05/0.7284, allocations: 19.17 kB / 0.9598 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7284, allocations: 0 / 0.9598 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.7284, allocations: 1.188 kB / 0.9598 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.7288, allocations: 0.5252 MB / 0.9603 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.729, allocations: 204.6 kB / 0.9605 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.7293, allocations: 0.6831 MB / 0.9611 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.424e-05/0.7293, allocations: 9.438 kB / 0.9612 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.7293, allocations: 0 / 0.9612 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.003176/0.7325, allocations: 1.582 MB / 0.9627 GB, free: 13.09 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)