Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0008856/0.0008856, allocations: 114.4 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008132/0.0008132, allocations: 208 kB / 23 MB, free: 3.129 MB / 13.93 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 0.8505/0.8505, allocations: 230.6 MB / 256.8 MB, free: 3.465 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7336/0.7336, allocations: 203.8 MB / 0.5049 GB, free: 0.6797 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 660] "Notification: IDEAS 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.0008757/0.0008757, allocations: 67.89 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4089, allocations: 102 MB / 0.8191 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00185/0.4108, allocations: 1.53 MB / 0.8206 GB, free: 24.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0005953/0.4114, allocations: 0.4981 MB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.4114, allocations: 1.656 kB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.4114, allocations: 5.203 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.4116, allocations: 30.73 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.442e-05/0.4117, allocations: 15.84 kB / 0.8211 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.15e-05/0.4118, allocations: 55.48 kB / 0.8212 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.077e-05/0.4119, allocations: 3.578 kB / 0.8212 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.412, allocations: 29.47 kB / 0.8212 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.4121, allocations: 26.08 kB / 0.8212 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.4121, allocations: 3.375 kB / 0.8212 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.4121, allocations: 3.75 kB / 0.8212 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.4121, allocations: 17.75 kB / 0.8213 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.4122, allocations: 16.67 kB / 0.8213 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.2e-05/0.4122, allocations: 40.38 kB / 0.8213 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4122, allocations: 0 / 0.8213 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4122, allocations: 3.938 kB / 0.8213 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.4122, allocations: 0.6875 kB / 0.8213 GB, free: 23.76 MB / 0.6355 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.0003799/0.4126, allocations: 279.7 kB / 0.8216 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.4127, allocations: 15.62 kB / 0.8216 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.4127, allocations: 6.859 kB / 0.8216 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.548e-05/0.4128, allocations: 122.5 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.4128, allocations: 1.75 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.4128, allocations: 2.5 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.88e-05/0.4129, allocations: 56 kB / 0.8218 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4129, allocations: 0 / 0.8218 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.4129, allocations: 1.938 kB / 0.8218 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4129, allocations: 3.75 kB / 0.8218 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.351e-05/0.4129, allocations: 16.81 kB / 0.8218 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.4132, allocations: 247 kB / 0.822 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.715e-05/0.4133, allocations: 40.64 kB / 0.8221 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.4133, allocations: 19.28 kB / 0.8221 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.4133, allocations: 1.062 kB / 0.8221 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.4134, allocations: 70.03 kB / 0.8222 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.4134, allocations: 0.8125 kB / 0.8222 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001691/0.4136, allocations: 80.86 kB / 0.8222 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.4136, allocations: 52.62 kB / 0.8223 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.342e-05/0.4137, allocations: 117.7 kB / 0.8224 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-06/0.4137, allocations: 25.7 kB / 0.8224 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.168e-05/0.4137, allocations: 86.98 kB / 0.8225 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.4137, allocations: 15.5 kB / 0.8225 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.4137, allocations: 19.12 kB / 0.8225 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.773e-05/0.4138, allocations: 321.4 kB / 0.8228 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.4138, allocations: 12.73 kB / 0.8229 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/0.4138, allocations: 11.42 kB / 0.8229 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.467e-05/0.4138, allocations: 39.66 kB / 0.8229 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.4138, allocations: 1.094 kB / 0.8229 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.101e-05/0.4139, allocations: 65.95 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.4139, allocations: 5.594 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4139, allocations: 0.5156 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.414, allocations: 1.062 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.414, allocations: 11.17 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.414, allocations: 2.047 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.4141, allocations: 4.047 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.4141, allocations: 5.922 kB / 0.823 GB, free: 22.16 MB / 0.6355 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 4.562e-05/0.4141, allocations: 123.1 kB / 0.8231 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.4141, allocations: 5.938 kB / 0.8231 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.4141, allocations: 10.11 kB / 0.8231 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4142, allocations: 0.8438 kB / 0.8231 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4142, allocations: 1.188 kB / 0.8231 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4142, allocations: 0.5625 kB / 0.8231 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.586e-05/0.4142, allocations: 148.4 kB / 0.8233 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4142, allocations: 3.984 kB / 0.8233 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/0.4143, allocations: 5.375 kB / 0.8233 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4143, allocations: 0 / 0.8233 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.4143, allocations: 6.266 kB / 0.8233 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4143, allocations: 0 / 0.8233 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4143, allocations: 1.156 kB / 0.8233 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.768e-05/0.4144, allocations: 95.91 kB / 0.8234 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.4144, allocations: 11.45 kB / 0.8234 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.4144, allocations: 1.094 kB / 0.8234 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.694e-05/0.4144, allocations: 11.23 kB / 0.8234 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.4145, allocations: 9.703 kB / 0.8234 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.4145, allocations: 2.031 kB / 0.8234 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.516e-05/0.4145, allocations: 93.12 kB / 0.8235 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4145, allocations: 0 / 0.8235 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001229/0.4146, allocations: 10.64 kB / 0.8235 GB, free: 21.66 MB / 0.6355 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 6.455e-05/0.4147, allocations: 102.1 kB / 0.8236 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.158e-05/0.4148, allocations: 35.75 kB / 0.8236 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.4148, allocations: 0 / 0.8236 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.934e-05/0.4148, allocations: 23.08 kB / 0.8237 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.4149, allocations: 4.219 kB / 0.8237 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.4152, allocations: 164.6 kB / 0.8238 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.777e-05/0.4152, allocations: 0.6815 MB / 0.8245 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.4152, allocations: 10.95 kB / 0.8245 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.4152, allocations: 0 / 0.8245 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of Templates: time 0.001731/0.417, allocations: 0.742 MB / 0.8252 GB, free: 20.64 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.246242120862007] Failed to read output from testmodel.py, exit status != 0: 0.4217968878801912 0.42998298599999996 0.016107281 Calling exit ...