Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 223.1 kB / 23 MB, free: 4.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003009/0.003009, allocations: 290.5 kB / 313.5 MB, free: 2.621 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.336/1.336, allocations: 180.6 MB / 0.5377 GB, free: 14.45 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002979/0.002979, allocations: 105.2 kB / 0.7407 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2156, allocations: 95.38 MB / 0.8339 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003256/0.2188, allocations: 1.494 MB / 0.8353 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.22, allocations: 480.4 kB / 0.8358 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.22, allocations: 3.938 kB / 0.8358 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.2201, allocations: 0 / 0.8358 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.2204, allocations: 35.8 kB / 0.8358 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001079/0.2205, allocations: 19.97 kB / 0.8359 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.2206, allocations: 47.86 kB / 0.8359 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2207, allocations: 7.922 kB / 0.8359 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.2209, allocations: 31.86 kB / 0.8359 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.05e-05/0.221, allocations: 19.91 kB / 0.836 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.221, allocations: 4 kB / 0.836 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.691e-05/0.221, allocations: 4 kB / 0.836 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.221, allocations: 11.98 kB / 0.836 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.2211, allocations: 19.88 kB / 0.836 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.2212, allocations: 43.88 kB / 0.836 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2212, allocations: 0 / 0.836 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.377e-06/0.2212, allocations: 7.922 kB / 0.836 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.2212, allocations: 0 / 0.836 GB, free: 5.578 MB / 0.5762 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.0006112/0.2218, allocations: 278.2 kB / 0.8363 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2219, allocations: 8.75 kB / 0.8363 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.2219, allocations: 8.891 kB / 0.8363 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.222, allocations: 110.5 kB / 0.8364 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.2221, allocations: 8.359 kB / 0.8364 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.2221, allocations: 384 / 0.8364 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.2222, allocations: 58 kB / 0.8365 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2222, allocations: 0 / 0.8365 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2222, allocations: 0 / 0.8365 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2222, allocations: 0 / 0.8365 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.28e-05/0.2223, allocations: 27.92 kB / 0.8365 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.2227, allocations: 208.5 kB / 0.8367 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.2228, allocations: 50.44 kB / 0.8368 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/0.2229, allocations: 20.94 kB / 0.8368 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.2229, allocations: 0 / 0.8368 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.2231, allocations: 67.33 kB / 0.8369 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.2231, allocations: 8 kB / 0.8369 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0002327/0.2233, allocations: 73.69 kB / 0.8369 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.2234, allocations: 51.41 kB / 0.837 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2235, allocations: 113.8 kB / 0.8371 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.2235, allocations: 25.7 kB / 0.8371 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.2235, allocations: 88.12 kB / 0.8372 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.2236, allocations: 11.91 kB / 0.8372 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.2236, allocations: 21.66 kB / 0.8372 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2238, allocations: 318.8 kB / 0.8375 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/0.2238, allocations: 8 kB / 0.8375 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.087e-05/0.2238, allocations: 19.94 kB / 0.8376 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.371e-05/0.2239, allocations: 40.78 kB / 0.8376 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2239, allocations: 0 / 0.8376 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001146/0.224, allocations: 70.08 kB / 0.8377 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.224, allocations: 4 kB / 0.8377 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.224, allocations: 0 / 0.8377 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.224, allocations: 4 kB / 0.8377 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.112e-05/0.2241, allocations: 4 kB / 0.8377 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2241, allocations: 0 / 0.8377 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.245e-05/0.2242, allocations: 7.984 kB / 0.8377 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.2242, allocations: 3.938 kB / 0.8377 GB, free: 3.719 MB / 0.5762 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 8.986e-05/0.2243, allocations: 122.4 kB / 0.8378 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.2243, allocations: 7.953 kB / 0.8378 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.2243, allocations: 8.062 kB / 0.8378 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2243, allocations: 0 / 0.8378 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2243, allocations: 0 / 0.8378 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2243, allocations: 4 kB / 0.8378 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.2244, allocations: 117.2 kB / 0.8379 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2244, allocations: 0 / 0.8379 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.2245, allocations: 7.984 kB / 0.8379 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.2245, allocations: 0 / 0.8379 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.2245, allocations: 7.984 kB / 0.8379 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2245, allocations: 0 / 0.8379 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2245, allocations: 0 / 0.8379 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.2246, allocations: 101 kB / 0.838 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.2247, allocations: 11.88 kB / 0.8381 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2247, allocations: 8 kB / 0.8381 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.383e-05/0.2247, allocations: 3.938 kB / 0.8381 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.2248, allocations: 7.984 kB / 0.8381 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.2248, allocations: 0 / 0.8381 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.2248, allocations: 91.27 kB / 0.8382 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2248, allocations: 0 / 0.8382 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001858/0.225, allocations: 12 kB / 0.8382 GB, free: 3.152 MB / 0.5762 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.000125/0.2252, allocations: 107.2 kB / 0.8383 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.2253, allocations: 32.05 kB / 0.8383 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2253, allocations: 4 kB / 0.8383 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.584e-05/0.2253, allocations: 15.94 kB / 0.8383 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.2255, allocations: 7.938 kB / 0.8383 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.2259, allocations: 164.7 kB / 0.8385 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.329e-05/0.2259, allocations: 67.34 kB / 0.8386 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.226, allocations: 11.44 kB / 0.8386 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of SimCode: time 4.3e-07/0.226, allocations: 0 / 0.8386 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of Templates: time 0.002585/0.2285, allocations: 0.763 MB / 0.8393 GB, free: 1.941 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.714568173978478] Failed to read output from testmodel.py, exit status != 0: 0.23681431775912642 0.253532013 0.028731368 Calling exit ...