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.0006771/0.0006771, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007364/0.0007364, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8442/0.8442, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.6665/0.6665, allocations: 154.5 MB / 414.5 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.116e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001948/0.001969, allocations: 1.5 MB / 0.6208 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005898/0.002559, allocations: 474.7 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.443e-05/0.002593, allocations: 0 / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.002618, allocations: 3.938 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.002824, allocations: 35.72 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.903e-05/0.002893, allocations: 11.98 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.487e-05/0.002968, allocations: 51.8 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.003045, allocations: 3.984 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.0032, allocations: 51.77 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.281e-05/0.003263, allocations: 11.98 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.003276, allocations: 4 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-06/0.003285, allocations: 4 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.0033, allocations: 7.938 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.003333, allocations: 23.97 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.991e-05/0.003413, allocations: 43.88 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.003414, allocations: 0 / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003415, allocations: 0 / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003418, allocations: 0 / 0.6215 GB, free: 10.96 MB / 0.5886 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.0003793/0.003798, allocations: 278.2 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.003828, allocations: 9.469 kB / 0.6217 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.003856, allocations: 8.891 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.82e-05/0.003934, allocations: 117.7 kB / 0.6219 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.003946, allocations: 384 / 0.6219 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.003958, allocations: 16.36 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.926e-05/0.004037, allocations: 46.19 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.004044, allocations: 192 / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.004054, allocations: 8.375 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.004063, allocations: 3.938 kB / 0.6219 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.206e-05/0.004105, allocations: 15.98 kB / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.004346, allocations: 212.5 kB / 0.6221 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.623e-05/0.004422, allocations: 46.5 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.004454, allocations: 20.94 kB / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-06/0.004461, allocations: 0 / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.004572, allocations: 71.33 kB / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.004573, allocations: 0 / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0001608/0.004734, allocations: 89.61 kB / 0.6224 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.004762, allocations: 51.41 kB / 0.6224 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.992e-05/0.004822, allocations: 113.8 kB / 0.6225 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.004832, allocations: 25.7 kB / 0.6225 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.004864, allocations: 88.09 kB / 0.6226 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.004882, allocations: 7.953 kB / 0.6226 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.004908, allocations: 21.7 kB / 0.6227 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.004978, allocations: 314.8 kB / 0.623 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.004999, allocations: 12 kB / 0.623 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.027e-05/0.005019, allocations: 19.98 kB / 0.623 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.731e-05/0.005056, allocations: 24.86 kB / 0.623 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005058, allocations: 3.938 kB / 0.623 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.791e-05/0.005126, allocations: 77.52 kB / 0.6231 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.005136, allocations: 4 kB / 0.6231 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.00514, allocations: 0 / 0.6231 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.00515, allocations: 0 / 0.6231 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.078e-05/0.005201, allocations: 8 kB / 0.6231 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.005206, allocations: 3.984 kB / 0.6231 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/0.005238, allocations: 4 kB / 0.6231 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.005244, allocations: 8 kB / 0.6231 GB, free: 9.086 MB / 0.5886 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.345e-05/0.005298, allocations: 110.8 kB / 0.6232 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.005306, allocations: 7.891 kB / 0.6232 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.678e-05/0.005323, allocations: 12.12 kB / 0.6232 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.005324, allocations: 0 / 0.6232 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.005329, allocations: 3.984 kB / 0.6232 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.005331, allocations: 0 / 0.6232 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.904e-05/0.00539, allocations: 113.2 kB / 0.6234 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.005391, allocations: 3.938 kB / 0.6234 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.005402, allocations: 4.438 kB / 0.6234 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.005405, allocations: 11.94 kB / 0.6234 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.005413, allocations: 7.938 kB / 0.6234 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.005414, allocations: 4 kB / 0.6234 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005415, allocations: 0 / 0.6234 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.157e-05/0.005496, allocations: 93.11 kB / 0.6235 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.005505, allocations: 3.953 kB / 0.6235 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.005518, allocations: 7.938 kB / 0.6235 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.481e-05/0.005542, allocations: 4 kB / 0.6235 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.005567, allocations: 3.984 kB / 0.6235 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.005574, allocations: 4 kB / 0.6235 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.41e-05/0.005608, allocations: 95.56 kB / 0.6236 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005608, allocations: 4 kB / 0.6236 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001163/0.005724, allocations: 8 kB / 0.6236 GB, free: 8.531 MB / 0.5886 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.418e-05/0.005788, allocations: 103.2 kB / 0.6237 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.82e-05/0.005866, allocations: 35.92 kB / 0.6237 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.005868, allocations: 0 / 0.6237 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.69e-05/0.005894, allocations: 15.98 kB / 0.6237 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.006002, allocations: 11.98 kB / 0.6238 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.00623, allocations: 162.4 kB / 0.6239 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.575e-05/0.006266, allocations: 67.34 kB / 0.624 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.006292, allocations: 16.48 kB / 0.624 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of SimCode: time 2.6e-07/0.006292, allocations: 0 / 0.624 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of Templates: time 0.00127/0.007562, allocations: 0.7529 MB / 0.6247 GB, free: 7.316 MB / 0.5886 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: 4.807365850545466] Failed to read output from testmodel.py, exit status != 0: 0.011280177161097527 0.018711808 0.013679707000000001 Calling exit ...