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.0006699/0.0006699, allocations: 100.4 kB / 19.7 MB, free: 444 kB / 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.0007051/0.0007051, allocations: 208.7 kB / 23 MB, free: 2.988 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.8722/0.8722, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.7218/0.7218, allocations: 203.8 MB / 0.5049 GB, free: 10.44 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.001334/0.001334, allocations: 70.7 kB / 0.7194 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3962, allocations: 102 MB / 0.819 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001643/0.3978, allocations: 1.501 MB / 0.8205 GB, free: 304 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005073/0.3984, allocations: 475.5 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.325e-05/0.3984, allocations: 0.5312 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.3984, allocations: 7.953 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.3986, allocations: 24 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.952e-05/0.3987, allocations: 20.08 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.106e-05/0.3987, allocations: 53.72 kB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.856e-05/0.3988, allocations: 3.656 kB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.399, allocations: 28.84 kB / 0.8211 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.399, allocations: 26.5 kB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.399, allocations: 2.906 kB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.399, allocations: 5.625 kB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.3991, allocations: 9.906 kB / 0.8211 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.3991, allocations: 19.7 kB / 0.8211 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.196e-05/0.3992, allocations: 54.47 kB / 0.8212 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3992, allocations: 0 / 0.8212 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3992, allocations: 0 / 0.8212 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3992, allocations: 0 / 0.8212 GB, free: 15.87 MB / 0.6198 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.0003633/0.3996, allocations: 273.5 kB / 0.8215 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.3996, allocations: 9.781 kB / 0.8215 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.3996, allocations: 7.312 kB / 0.8215 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.33e-05/0.3997, allocations: 117.1 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3997, allocations: 3.656 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.3997, allocations: 5.078 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.3998, allocations: 54.69 kB / 0.8216 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3998, allocations: 3.938 kB / 0.8217 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.3998, allocations: 0 / 0.8217 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.3998, allocations: 4.609 kB / 0.8217 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.58e-05/0.3999, allocations: 19.83 kB / 0.8217 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002382/0.4001, allocations: 208.2 kB / 0.8219 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.408e-05/0.4002, allocations: 39.44 kB / 0.8219 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.4002, allocations: 18.38 kB / 0.8219 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.4002, allocations: 5.062 kB / 0.8219 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.4003, allocations: 74.59 kB / 0.822 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 7.11e-07/0.4003, allocations: 0 / 0.822 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001486/0.4005, allocations: 76.3 kB / 0.8221 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.4005, allocations: 55.09 kB / 0.8221 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/0.4006, allocations: 114.3 kB / 0.8222 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.4006, allocations: 27.41 kB / 0.8223 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.4006, allocations: 88.05 kB / 0.8223 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.4006, allocations: 13.39 kB / 0.8224 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.4007, allocations: 20.17 kB / 0.8224 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.752e-05/0.4007, allocations: 321.7 kB / 0.8227 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.4008, allocations: 16.23 kB / 0.8227 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/0.4008, allocations: 12.88 kB / 0.8227 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.436e-05/0.4008, allocations: 31.97 kB / 0.8227 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4008, allocations: 0 / 0.8227 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.786e-05/0.4009, allocations: 66.55 kB / 0.8228 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.4009, allocations: 10.22 kB / 0.8228 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.4009, allocations: 0 / 0.8228 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.4009, allocations: 0.7031 kB / 0.8228 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.401, allocations: 12.17 kB / 0.8228 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.401, allocations: 0 / 0.8228 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.383e-05/0.401, allocations: 5.375 kB / 0.8228 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.401, allocations: 9.156 kB / 0.8228 GB, free: 14.3 MB / 0.6198 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 5.276e-05/0.4011, allocations: 117.8 kB / 0.823 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.4011, allocations: 6.391 kB / 0.823 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.673e-05/0.4011, allocations: 9.922 kB / 0.823 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.4011, allocations: 1.438 kB / 0.823 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.4011, allocations: 0.7031 kB / 0.823 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4011, allocations: 0 / 0.823 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.555e-05/0.4011, allocations: 120.3 kB / 0.8231 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4011, allocations: 0.7969 kB / 0.8231 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.24e-05/0.4012, allocations: 7.109 kB / 0.8231 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.4012, allocations: 4.75 kB / 0.8231 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.4012, allocations: 6.25 kB / 0.8231 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.4012, allocations: 0 / 0.8231 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4012, allocations: 0 / 0.8231 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.675e-05/0.4013, allocations: 103.7 kB / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.4013, allocations: 9.172 kB / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.4013, allocations: 3.5 kB / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.721e-05/0.4013, allocations: 1.688 kB / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.4013, allocations: 8.094 kB / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.4013, allocations: 0 / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.4014, allocations: 93.98 kB / 0.8233 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4014, allocations: 0 / 0.8233 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001188/0.4015, allocations: 12.47 kB / 0.8233 GB, free: 13.84 MB / 0.6198 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.757e-05/0.4016, allocations: 96.03 kB / 0.8234 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.287e-05/0.4016, allocations: 34.08 kB / 0.8235 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.4016, allocations: 0 / 0.8235 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.869e-05/0.4017, allocations: 15.86 kB / 0.8235 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.4018, allocations: 11.66 kB / 0.8235 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.4022, allocations: 161.6 kB / 0.8236 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.753e-05/0.4022, allocations: 78.78 kB / 0.8237 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.4023, allocations: 10.3 kB / 0.8237 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of SimCode: time 9.12e-07/0.4023, allocations: 1.125 kB / 0.8237 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.001567/0.4038, allocations: 0.7587 MB / 0.8245 GB, free: 13.44 MB / 0.6198 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.2567232409492135] Failed to read output from testmodel.py, exit status != 0: 0.409826529212296 0.417632808 0.016748266 Calling exit ...