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.001423/0.001423, allocations: 84.28 kB / 19.18 MB, free: 2.523 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.001526/0.001526, allocations: 170.5 kB / 22.46 MB, free: 5.359 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.217/1.217, allocations: 154.6 MB / 413.7 MB, free: 5.312 MB / 382.1 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 178] 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.292e-06/1.292e-06, allocations: 0 / 0.6185 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.887e-05, allocations: 5.453 kB / 0.6185 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002607/0.002636, allocations: 1.49 MB / 0.62 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009079/0.003543, allocations: 482.7 kB / 0.6205 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.003586, allocations: 0 / 0.6205 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.003614, allocations: 3.938 kB / 0.6205 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.003859, allocations: 35.28 kB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 8.292e-05/0.003941, allocations: 11.98 kB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.238e-05/0.004034, allocations: 55.72 kB / 0.6206 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.213e-05/0.004116, allocations: 15.98 kB / 0.6206 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.004292, allocations: 35.86 kB / 0.6206 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.24e-05/0.004374, allocations: 23.89 kB / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.004393, allocations: 4 kB / 0.6206 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.084e-05/0.004414, allocations: 4 kB / 0.6206 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.004432, allocations: 4 kB / 0.6206 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.004472, allocations: 19.92 kB / 0.6207 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.491e-05/0.004567, allocations: 39.94 kB / 0.6207 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.004572, allocations: 3.984 kB / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004572, allocations: 0 / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.004576, allocations: 4 kB / 0.6207 GB, free: 2.406 MB / 0.5294 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.000544/0.00512, allocations: 282.2 kB / 0.621 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.005155, allocations: 9.469 kB / 0.621 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.005193, allocations: 12.88 kB / 0.621 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.00533, allocations: 117.7 kB / 0.6211 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.005347, allocations: 384 / 0.6211 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.005358, allocations: 8.375 kB / 0.6211 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.005476, allocations: 50.19 kB / 0.6212 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.005485, allocations: 4.125 kB / 0.6212 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.005497, allocations: 4.375 kB / 0.6212 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.005502, allocations: 7.938 kB / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.893e-05/0.005561, allocations: 15.98 kB / 0.6212 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.005895, allocations: 212.5 kB / 0.6214 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.006011, allocations: 46.5 kB / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.544e-05/0.006066, allocations: 20.94 kB / 0.6215 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.006078, allocations: 0 / 0.6215 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.006245, allocations: 67.33 kB / 0.6215 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.006246, allocations: 0 / 0.6215 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002365/0.006482, allocations: 81.62 kB / 0.6216 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.006528, allocations: 55.41 kB / 0.6217 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.006642, allocations: 113.8 kB / 0.6218 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.006661, allocations: 25.7 kB / 0.6218 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.006735, allocations: 92.12 kB / 0.6219 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.006759, allocations: 11.89 kB / 0.6219 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.0068, allocations: 17.72 kB / 0.6219 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.006943, allocations: 322.8 kB / 0.6222 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.224e-05/0.006975, allocations: 8 kB / 0.6222 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-05/0.007002, allocations: 12 kB / 0.6222 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.351e-05/0.007065, allocations: 28.84 kB / 0.6223 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007067, allocations: 4 kB / 0.6223 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001259/0.007193, allocations: 77.89 kB / 0.6223 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.007205, allocations: 4 kB / 0.6223 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.007213, allocations: 4.062 kB / 0.6223 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.007227, allocations: 0 / 0.6223 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.007298, allocations: 8 kB / 0.6224 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.007304, allocations: 0 / 0.6224 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.007368, allocations: 7.984 kB / 0.6224 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.00738, allocations: 4 kB / 0.6224 GB, free: 0.5312 MB / 0.5294 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.854e-05/0.007469, allocations: 110.8 kB / 0.6225 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.007486, allocations: 11.89 kB / 0.6225 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.007513, allocations: 12.12 kB / 0.6225 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.007515, allocations: 0 / 0.6225 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.007519, allocations: 0 / 0.6225 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.007521, allocations: 3.938 kB / 0.6225 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.007655, allocations: 117.2 kB / 0.6226 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.007656, allocations: 4 kB / 0.6226 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.123e-05/0.007687, allocations: 7.984 kB / 0.6226 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.007693, allocations: 7.922 kB / 0.6226 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.007704, allocations: 4 kB / 0.6226 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.007705, allocations: 3.938 kB / 0.6226 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007705, allocations: 0 / 0.6226 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.007869, allocations: 93.12 kB / 0.6227 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.007884, allocations: 7.938 kB / 0.6227 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.00791, allocations: 11.94 kB / 0.6227 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.732e-05/0.007967, allocations: 0 / 0.6227 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.008002, allocations: 7.984 kB / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.008012, allocations: 0 / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.137e-05/0.008084, allocations: 91.27 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.008084, allocations: 0 / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001924/0.008276, allocations: 8 kB / 0.6228 GB, free: 15.97 MB / 0.545 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.0001209/0.008397, allocations: 103.2 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.008518, allocations: 35.92 kB / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.008519, allocations: 0 / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.47e-05/0.008564, allocations: 16.19 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.008718, allocations: 4 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.009057, allocations: 140.8 kB / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.041e-05/0.009117, allocations: 63.34 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.74e-05/0.009145, allocations: 4 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.009184, allocations: 16.48 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.009185, allocations: 4 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of Templates: time 0.003061/0.01225, allocations: 0.5643 MB / 0.6238 GB, free: 15.02 MB / 0.545 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.825408540666103] Failed to read output from testmodel.py, exit status != 0: 0.020918510854244232 0.035448930000000003 0.027814349000000002 Calling exit ...