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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.097/1.097, allocations: 177.9 MB / 484.2 MB, free: 5.359 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002018/0.002018, allocations: 68.66 kB / 0.674 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6758/0.6778, allocations: 95.18 MB / 0.7669 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002527/0.6803, allocations: 1.491 MB / 0.7684 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007467/0.6811, allocations: 480.1 kB / 0.7689 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.6811, allocations: 1.031 kB / 0.7689 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.6811, allocations: 4.688 kB / 0.7689 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.6814, allocations: 25.52 kB / 0.7689 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 8.026e-05/0.6814, allocations: 22.89 kB / 0.7689 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.943e-05/0.6815, allocations: 49.11 kB / 0.769 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.65e-05/0.6816, allocations: 11.58 kB / 0.769 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.508e-05/0.6817, allocations: 28.28 kB / 0.769 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.6818, allocations: 20.16 kB / 0.769 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.6818, allocations: 4.125 kB / 0.769 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.6818, allocations: 4.094 kB / 0.769 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.6819, allocations: 8.312 kB / 0.769 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.6819, allocations: 29.84 kB / 0.7691 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.323e-05/0.682, allocations: 45.67 kB / 0.7691 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.682, allocations: 2.141 kB / 0.7691 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.682, allocations: 0 / 0.7691 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.682, allocations: 0 / 0.7691 GB, free: 6.797 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.0004796/0.6825, allocations: 272.6 kB / 0.7694 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.6825, allocations: 9.125 kB / 0.7694 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.6826, allocations: 5.969 kB / 0.7694 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.6827, allocations: 127.5 kB / 0.7695 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.6827, allocations: 2.562 kB / 0.7695 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.6827, allocations: 5.562 kB / 0.7695 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.6828, allocations: 58.48 kB / 0.7696 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.6828, allocations: 0 / 0.7696 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.6828, allocations: 1.438 kB / 0.7696 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.6828, allocations: 0 / 0.7696 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.772e-05/0.6829, allocations: 28.16 kB / 0.7696 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.6832, allocations: 240.1 kB / 0.7698 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.33e-05/0.6833, allocations: 45.5 kB / 0.7699 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.6833, allocations: 19.64 kB / 0.7699 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.6833, allocations: 1.344 kB / 0.7699 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.6835, allocations: 65.19 kB / 0.7699 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.6835, allocations: 0 / 0.7699 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0002058/0.6837, allocations: 82.8 kB / 0.77 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.6837, allocations: 52.38 kB / 0.7701 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.802e-05/0.6837, allocations: 117.9 kB / 0.7702 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.6838, allocations: 31.11 kB / 0.7702 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.6838, allocations: 81.14 kB / 0.7703 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.6838, allocations: 19.75 kB / 0.7703 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.6838, allocations: 19.75 kB / 0.7703 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.304e-05/0.6839, allocations: 317.3 kB / 0.7706 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.252e-05/0.6839, allocations: 12.27 kB / 0.7706 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.6839, allocations: 12.7 kB / 0.7707 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.461e-05/0.684, allocations: 38.2 kB / 0.7707 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.684, allocations: 0 / 0.7707 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.722e-05/0.6841, allocations: 67.62 kB / 0.7708 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.6841, allocations: 5.562 kB / 0.7708 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.6841, allocations: 0 / 0.7708 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.6841, allocations: 1.656 kB / 0.7708 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.6842, allocations: 9.344 kB / 0.7708 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.6842, allocations: 0 / 0.7708 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.023e-05/0.6843, allocations: 13.31 kB / 0.7708 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.6843, allocations: 1.125 kB / 0.7708 GB, free: 5.188 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 5.39e-05/0.6843, allocations: 124.5 kB / 0.7709 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.6843, allocations: 2.281 kB / 0.7709 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.6844, allocations: 6.641 kB / 0.7709 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6844, allocations: 1.094 kB / 0.7709 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6844, allocations: 0 / 0.7709 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.6844, allocations: 0 / 0.7709 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.344e-05/0.6844, allocations: 152.9 kB / 0.7711 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.6844, allocations: 0.8438 kB / 0.7711 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.702e-05/0.6845, allocations: 8.062 kB / 0.7711 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6845, allocations: 5.188 kB / 0.7711 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.6845, allocations: 1.125 kB / 0.7711 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6845, allocations: 1.312 kB / 0.7711 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6845, allocations: 0 / 0.7711 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.6846, allocations: 93.53 kB / 0.7712 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.6846, allocations: 10.61 kB / 0.7712 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.6846, allocations: 0 / 0.7712 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.824e-05/0.6847, allocations: 8.641 kB / 0.7712 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.6847, allocations: 12.03 kB / 0.7712 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.6847, allocations: 3.609 kB / 0.7712 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.543e-05/0.6848, allocations: 88.16 kB / 0.7713 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6848, allocations: 1.219 kB / 0.7713 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001854/0.685, allocations: 11.84 kB / 0.7713 GB, free: 4.688 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 8.143e-05/0.685, allocations: 99.39 kB / 0.7714 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.6852, allocations: 35.11 kB / 0.7714 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6852, allocations: 1.188 kB / 0.7714 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.176e-05/0.6852, allocations: 22 kB / 0.7714 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.6854, allocations: 7.172 kB / 0.7715 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.6856, allocations: 138.8 kB / 0.7716 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.394e-05/0.6857, allocations: 0.6838 MB / 0.7723 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.6858, allocations: 3.578 kB / 0.7723 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.6858, allocations: 10.19 kB / 0.7723 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.6858, allocations: 4 kB / 0.7723 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of Templates: time 0.002958/0.6887, allocations: 0.5854 MB / 0.7728 GB, free: 3.648 MB / 0.5762 GB " [Timeout remaining time 659] 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: 6.529503606259823] Failed to read output from testmodel.py, exit status != 0: 0.6969574354588985 0.712669095 0.027291368000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2689b957b0>