Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009083/0.0009083, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009577/0.0009577, allocations: 181 kB / 23.36 MB, free: 1.133 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.9597/0.9597, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.8038/0.8038, allocations: 154.6 MB / 414.8 MB, free: 0.5 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 480 MB, free: 6.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.963e-05, allocations: 2.312 kB / 480 MB, free: 6.934 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002446/0.002466, allocations: 1.535 MB / 481.6 MB, free: 5.422 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008254/0.003291, allocations: 0.4928 MB / 482.1 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.00333, allocations: 0 / 482.1 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.003358, allocations: 3.938 kB / 482.1 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.003575, allocations: 22.27 kB / 482.1 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.655e-05/0.003662, allocations: 19.92 kB / 482.1 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.25e-05/0.003754, allocations: 53.53 kB / 482.1 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.169e-05/0.003826, allocations: 7.984 kB / 482.2 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.004012, allocations: 42.02 kB / 482.2 MB, free: 4.809 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.004087, allocations: 15.98 kB / 482.2 MB, free: 4.793 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.004104, allocations: 5.312 kB / 482.2 MB, free: 4.789 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.004116, allocations: 4 kB / 482.2 MB, free: 4.785 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.004138, allocations: 15.91 kB / 482.2 MB, free: 4.77 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.004169, allocations: 13.19 kB / 482.3 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.452e-05/0.004253, allocations: 39.77 kB / 482.3 MB, free: 4.719 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004255, allocations: 0.7812 kB / 482.3 MB, free: 4.719 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004256, allocations: 0 / 482.3 MB, free: 4.719 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.836e-06/0.004259, allocations: 0.9062 kB / 482.3 MB, free: 4.719 MB / 442.7 MB 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.0003606/0.004619, allocations: 248 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.004656, allocations: 8.688 kB / 482.5 MB, free: 4.449 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.004686, allocations: 9.547 kB / 482.6 MB, free: 4.441 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.088e-05/0.004777, allocations: 121.6 kB / 482.7 MB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.004792, allocations: 5.344 kB / 482.7 MB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.004804, allocations: 4.375 kB / 482.7 MB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.049e-05/0.004895, allocations: 54.94 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.004903, allocations: 2.25 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.004912, allocations: 4.375 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.004919, allocations: 3.938 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.876e-05/0.004948, allocations: 13.19 kB / 482.8 MB, free: 4.207 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.00516, allocations: 152.2 kB / 482.9 MB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.346e-05/0.005234, allocations: 36.22 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.005259, allocations: 16.94 kB / 483 MB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.005266, allocations: 0.9375 kB / 483 MB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.845e-05/0.005354, allocations: 60.23 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.005355, allocations: 0 / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001203/0.005475, allocations: 54.84 kB / 483.1 MB, free: 3.852 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.005509, allocations: 55.41 kB / 483.1 MB, free: 3.785 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.005575, allocations: 110.7 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.00559, allocations: 27.14 kB / 483.3 MB, free: 3.633 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.005624, allocations: 96.12 kB / 483.4 MB, free: 3.535 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.005647, allocations: 15.83 kB / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.005679, allocations: 17.72 kB / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.542e-05/0.005764, allocations: 323.7 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.005779, allocations: 4 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.297e-05/0.005792, allocations: 5.25 kB / 483.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.936e-05/0.005831, allocations: 24.78 kB / 483.7 MB, free: 3.137 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005833, allocations: 0 / 483.7 MB, free: 3.137 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.783e-05/0.005911, allocations: 49.62 kB / 483.8 MB, free: 3.082 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.005924, allocations: 8.75 kB / 483.8 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.005927, allocations: 0 / 483.8 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.005938, allocations: 0.875 kB / 483.8 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.005998, allocations: 15.98 kB / 483.8 MB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006001, allocations: 0.9375 kB / 483.8 MB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.006038, allocations: 7.953 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.006044, allocations: 448 / 483.8 MB, free: 3.051 MB / 442.7 MB 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 6.138e-05/0.006105, allocations: 110.5 kB / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.006116, allocations: 0.5625 kB / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.006142, allocations: 23.11 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.006143, allocations: 3.938 kB / 484 MB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.006147, allocations: 4.625 kB / 484 MB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.00615, allocations: 0 / 484 MB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.898e-05/0.006228, allocations: 74.5 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006229, allocations: 0.625 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.006249, allocations: 4 kB / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.00625, allocations: 0.8438 kB / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.006259, allocations: 8 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.00626, allocations: 0.5625 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.006262, allocations: 3.938 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.393e-05/0.006346, allocations: 70.8 kB / 484.1 MB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.006356, allocations: 4 kB / 484.1 MB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.00637, allocations: 0 / 484.1 MB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.093e-05/0.006401, allocations: 4 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.006429, allocations: 12.45 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.006438, allocations: 3.938 kB / 484.1 MB, free: 2.691 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.101e-05/0.006459, allocations: 22.48 kB / 484.2 MB, free: 2.668 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006459, allocations: 0 / 484.2 MB, free: 2.668 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.006627, allocations: 8 kB / 484.2 MB, free: 2.66 MB / 442.7 MB 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.279e-05/0.006709, allocations: 85.25 kB / 484.3 MB, free: 2.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.096e-05/0.00678, allocations: 27.2 kB / 484.3 MB, free: 2.543 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.006783, allocations: 0 / 484.3 MB, free: 2.543 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.194e-05/0.006815, allocations: 20.78 kB / 484.3 MB, free: 2.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.036e-05/0.006885, allocations: 11.94 kB / 484.3 MB, free: 2.508 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.007417, allocations: 152 kB / 484.5 MB, free: 2.336 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.228e-05/0.007449, allocations: 55.36 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.696e-05/0.007476, allocations: 4 kB / 484.5 MB, free: 2.258 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.007521, allocations: 57.17 kB / 484.6 MB, free: 2.203 MB / 442.7 MB Notification: Performance of SimCode: time 7.52e-07/0.007521, allocations: 0 / 484.6 MB, free: 2.203 MB / 442.7 MB Notification: Performance of Templates: time 0.002426/0.009947, allocations: 0.6131 MB / 485.2 MB, free: 1.633 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4949366878718138]