Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 113.6 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 194.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.766/2.766, allocations: 437.1 MB / 0.7177 GB, free: 4.48 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 59.91 kB / 1.028 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3283, allocations: 151.6 MB / 1.176 GB, free: 5.98 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002302/0.3306, allocations: 1.267 MB / 1.177 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.3328, allocations: 1.456 MB / 1.179 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.3329, allocations: 0 / 1.179 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.3329, allocations: 0 / 1.179 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.3331, allocations: 11.94 kB / 1.179 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.3338, allocations: 211 kB / 1.179 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.376e-05/0.3339, allocations: 27.92 kB / 1.179 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.3339, allocations: 7.984 kB / 1.179 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.237e-05/0.334, allocations: 15.94 kB / 1.179 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.3341, allocations: 15.91 kB / 1.179 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.3342, allocations: 4 kB / 1.179 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.3345, allocations: 159.8 kB / 1.179 GB, free: 2.789 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.3345, allocations: 11.97 kB / 1.179 GB, free: 2.777 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.3345, allocations: 8 kB / 1.179 GB, free: 2.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.3348, allocations: 139.6 kB / 1.179 GB, free: 2.633 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3348, allocations: 0 / 1.179 GB, free: 2.633 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.236e-06/0.3348, allocations: 4 kB / 1.179 GB, free: 2.629 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.3348, allocations: 7.938 kB / 1.179 GB, free: 2.621 MB / 0.92 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.0004856/0.3353, allocations: 371 kB / 1.179 GB, free: 2.211 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3354, allocations: 12.03 kB / 1.179 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.03e-05/0.3355, allocations: 76.22 kB / 1.18 GB, free: 2.125 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.3357, allocations: 247.6 kB / 1.18 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-05/0.3358, allocations: 150.9 kB / 1.18 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.425e-05/0.3359, allocations: 170.7 kB / 1.18 GB, free: 1.527 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.638e-05/0.336, allocations: 104.9 kB / 1.18 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.815e-05/0.3361, allocations: 75.28 kB / 1.18 GB, free: 1.344 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.422e-05/0.3362, allocations: 150.6 kB / 1.18 GB, free: 1.195 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.721e-05/0.3363, allocations: 150.6 kB / 1.181 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.3363, allocations: 154.6 kB / 1.181 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.3367, allocations: 453.9 kB / 1.181 GB, free: 412 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.3369, allocations: 177.1 kB / 1.181 GB, free: 224 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.3369, allocations: 84.08 kB / 1.181 GB, free: 136 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.337, allocations: 75.28 kB / 1.181 GB, free: 60 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.579e-05/0.3371, allocations: 109.8 kB / 1.182 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.3371, allocations: 3.938 kB / 1.182 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001026/0.3372, allocations: 37.64 kB / 1.182 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.3373, allocations: 130.6 kB / 1.182 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.3374, allocations: 97.86 kB / 1.182 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3375, allocations: 29.7 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.3375, allocations: 88.12 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.3375, allocations: 4 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.3376, allocations: 21.72 kB / 1.182 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3377, allocations: 310.8 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.3378, allocations: 3.984 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.187e-05/0.3378, allocations: 26.58 kB / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.128e-05/0.3379, allocations: 26.52 kB / 1.182 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3379, allocations: 0 / 1.182 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001479/0.338, allocations: 57.56 kB / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3381, allocations: 4 kB / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3381, allocations: 0 / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.3381, allocations: 4 kB / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.613e-05/0.3382, allocations: 7.984 kB / 1.182 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3382, allocations: 96 / 1.182 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.3384, allocations: 8.25 kB / 1.182 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.3384, allocations: 4 kB / 1.182 GB, free: 15.02 MB / 0.9356 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.0001402/0.3386, allocations: 189.1 kB / 1.183 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.431e-05/0.3387, allocations: 116.8 kB / 1.183 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.3387, allocations: 108.1 kB / 1.183 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.16e-05/0.3388, allocations: 180.3 kB / 1.183 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.401e-05/0.3389, allocations: 184.2 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.366e-05/0.339, allocations: 188.2 kB / 1.183 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.3393, allocations: 401.1 kB / 1.184 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.443e-05/0.3394, allocations: 113 kB / 1.184 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.3394, allocations: 101 kB / 1.184 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.595e-05/0.3395, allocations: 184.2 kB / 1.184 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.945e-05/0.3396, allocations: 176.3 kB / 1.184 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.896e-05/0.3397, allocations: 188.2 kB / 1.184 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-05/0.3398, allocations: 176.3 kB / 1.185 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.34, allocations: 315.7 kB / 1.185 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.819e-05/0.3401, allocations: 182 kB / 1.185 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.648e-05/0.3402, allocations: 180.2 kB / 1.185 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.3403, allocations: 109 kB / 1.185 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-05/0.3404, allocations: 184.2 kB / 1.186 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.309e-05/0.3404, allocations: 101 kB / 1.186 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.922e-05/0.3405, allocations: 83.28 kB / 1.186 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3405, allocations: 0 / 1.186 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004474/0.341, allocations: 55.8 kB / 1.186 GB, free: 11.35 MB / 0.9356 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.0007808/0.3417, allocations: 349 kB / 1.186 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.3419, allocations: 15.92 kB / 1.186 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.3419, allocations: 0 / 1.186 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.596e-06/0.3419, allocations: 8.125 kB / 1.186 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.3424, allocations: 459.6 kB / 1.187 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.3427, allocations: 199.3 kB / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.3431, allocations: 0.6768 MB / 1.187 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.622e-05/0.3431, allocations: 7.438 kB / 1.187 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.3431, allocations: 4 kB / 1.187 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of Templates: time 0.00379/0.3469, allocations: 1.598 MB / 1.189 GB, free: 8.031 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.483452214975841] Failed to read output from testmodel.py, exit status != 0: 0.3546477339696139 0.368514041 0.030831559 Calling exit ...