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.0009481/0.0009481, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009841/0.0009841, allocations: 165 kB / 23.02 MB, free: 1.551 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.9476/0.9476, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.7902/0.7902, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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.302e-06/1.302e-06, allocations: 3.938 kB / 0.5203 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.942e-05, allocations: 4.859 kB / 0.5203 GB, free: 2.172 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001766/0.001786, allocations: 1.533 MB / 0.5218 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006288/0.002415, allocations: 493.1 kB / 0.5223 GB, free: 168 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.002453, allocations: 0 / 0.5223 GB, free: 168 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.00248, allocations: 3.938 kB / 0.5223 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.002688, allocations: 25.42 kB / 0.5223 GB, free: 140 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.708e-05/0.002765, allocations: 23.84 kB / 0.5224 GB, free: 116 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.289e-05/0.002838, allocations: 55.78 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.002926, allocations: 0 / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.003088, allocations: 45.17 kB / 0.5225 GB, free: 16 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.432e-05/0.003152, allocations: 11.98 kB / 0.5225 GB, free: 4 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.003169, allocations: 4 kB / 0.5225 GB, free: 0 / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.003193, allocations: 4.672 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.003211, allocations: 11.88 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.003248, allocations: 16.73 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.272e-05/0.00333, allocations: 35.78 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003332, allocations: 1.469 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003333, allocations: 4 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003337, allocations: 0 / 0.5225 GB, free: 15.93 MB / 0.4948 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.0003991/0.003736, allocations: 373.8 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.003769, allocations: 8.031 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.003803, allocations: 8.891 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.98e-05/0.003893, allocations: 124.2 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.003906, allocations: 4.375 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.003917, allocations: 384 / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.763e-05/0.004005, allocations: 58.94 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.004013, allocations: 4.188 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.004023, allocations: 4.375 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.004029, allocations: 3.938 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.371e-05/0.004063, allocations: 11.94 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.004319, allocations: 267.8 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.004428, allocations: 43.58 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.004456, allocations: 20.19 kB / 0.5234 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.004464, allocations: 3.984 kB / 0.5234 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.012e-05/0.004554, allocations: 73.58 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 7.11e-07/0.004555, allocations: 0.9688 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.0001578/0.004712, allocations: 69.67 kB / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.00474, allocations: 52.88 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/0.004814, allocations: 173.9 kB / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.004826, allocations: 25.7 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.004871, allocations: 138.8 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.004894, allocations: 16.33 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.004922, allocations: 23.38 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.005022, allocations: 0.4889 MB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.005042, allocations: 13.98 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.005054, allocations: 4 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/0.005092, allocations: 27.69 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005094, allocations: 0 / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.71e-05/0.005161, allocations: 57.62 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.005172, allocations: 7.938 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.005179, allocations: 6.75 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.005193, allocations: 3.984 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.694e-05/0.00525, allocations: 8.375 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.005255, allocations: 0 / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.005287, allocations: 8 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.005295, allocations: 0 / 0.5246 GB, free: 13.63 MB / 0.4948 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 6.37e-05/0.005359, allocations: 162.2 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.005371, allocations: 15.88 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.005392, allocations: 8.125 kB / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.005393, allocations: 0 / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.005396, allocations: 0 / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.005398, allocations: 0.9375 kB / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.29e-05/0.005471, allocations: 120.6 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.005473, allocations: 4.938 kB / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.47e-05/0.005488, allocations: 4 kB / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.00549, allocations: 3.938 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.005498, allocations: 4.656 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.0055, allocations: 4.734 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.0055, allocations: 0 / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9e-05/0.00559, allocations: 103.1 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-06/0.0056, allocations: 4 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.005616, allocations: 3.938 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.005643, allocations: 7.984 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.005674, allocations: 4 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.005683, allocations: 0 / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.781e-05/0.005721, allocations: 131.2 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005721, allocations: 0 / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001288/0.00585, allocations: 15.12 kB / 0.5252 GB, free: 12.98 MB / 0.4948 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.399e-05/0.005914, allocations: 95.25 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.635e-05/0.006, allocations: 39.61 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.006001, allocations: 0 / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.794e-05/0.006029, allocations: 19.67 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.006142, allocations: 8 kB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.006679, allocations: 159.8 kB / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.354e-05/0.006713, allocations: 59.3 kB / 0.5255 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.01e-05/0.006733, allocations: 15.17 kB / 0.5255 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.00676, allocations: 12.5 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.006761, allocations: 4 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.001902/0.008663, allocations: 0.5686 MB / 0.5261 GB, free: 11.98 MB / 0.4948 GB " [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.77249579411]