Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.0008598/0.0008598, allocations: 72.55 kB / 19.93 MB, free: 4.633 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.0007952/0.0007952, 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.8308/0.8308, allocations: 177.1 MB / 203.5 MB, free: 5.73 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-531:686: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-531:694: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.705/0.705, allocations: 154.6 MB / 414.5 MB, free: 0.793 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.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 3.938 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.517e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001961/0.001986, allocations: 1.614 MB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007063/0.002692, allocations: 0.5609 MB / 0.6215 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.002741, allocations: 4 kB / 0.6215 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.002771, allocations: 7.922 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.003013, allocations: 43.59 kB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.003161, allocations: 47.81 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.003266, allocations: 119.5 kB / 0.6217 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.146e-05/0.003357, allocations: 15.98 kB / 0.6217 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.003499, allocations: 67.86 kB / 0.6218 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.177e-05/0.00358, allocations: 43.88 kB / 0.6218 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.003598, allocations: 8 kB / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.11e-05/0.00364, allocations: 15.94 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.003664, allocations: 27.91 kB / 0.6219 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.003703, allocations: 27.92 kB / 0.6219 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.003841, allocations: 111.6 kB / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003843, allocations: 0 / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003844, allocations: 4 kB / 0.622 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.003848, allocations: 0 / 0.622 GB, free: 10.44 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004985/0.004346, allocations: 329.9 kB / 0.6223 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.004377, allocations: 8.031 kB / 0.6223 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.004481, allocations: 16.88 kB / 0.6223 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.004574, allocations: 125.7 kB / 0.6224 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.00459, allocations: 4.375 kB / 0.6225 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.004603, allocations: 12.38 kB / 0.6225 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.004727, allocations: 86.14 kB / 0.6225 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.004735, allocations: 192 / 0.6225 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.004745, allocations: 384 / 0.6225 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.004751, allocations: 7.938 kB / 0.6226 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.05e-05/0.004832, allocations: 47.97 kB / 0.6226 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.005168, allocations: 272.3 kB / 0.6229 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.005372, allocations: 102.6 kB / 0.623 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.005425, allocations: 40.84 kB / 0.623 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.005439, allocations: 7.938 kB / 0.623 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.005592, allocations: 95.28 kB / 0.6231 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.005593, allocations: 4 kB / 0.6231 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0002468/0.00584, allocations: 141.6 kB / 0.6232 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.005873, allocations: 55.39 kB / 0.6233 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.00594, allocations: 129.8 kB / 0.6234 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.005952, allocations: 25.7 kB / 0.6234 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.005991, allocations: 96.3 kB / 0.6235 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.006023, allocations: 39.83 kB / 0.6236 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.00606, allocations: 29.64 kB / 0.6236 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.006137, allocations: 322.8 kB / 0.6239 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.006179, allocations: 31.98 kB / 0.6239 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.006216, allocations: 34.73 kB / 0.624 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.089e-05/0.006297, allocations: 64.8 kB / 0.624 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006299, allocations: 0 / 0.624 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001162/0.006415, allocations: 105.6 kB / 0.6241 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.006427, allocations: 7.984 kB / 0.6241 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.006431, allocations: 0 / 0.6241 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.006443, allocations: 4 kB / 0.6241 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.006505, allocations: 19.92 kB / 0.6242 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.00651, allocations: 0 / 0.6242 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.006559, allocations: 12 kB / 0.6242 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.006569, allocations: 4 kB / 0.6242 GB, free: 8.027 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.057e-05/0.006639, allocations: 126.8 kB / 0.6243 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.006651, allocations: 7.953 kB / 0.6243 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.006836, allocations: 157.1 kB / 0.6245 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.006839, allocations: 4 kB / 0.6245 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.006843, allocations: 0 / 0.6245 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.006846, allocations: 4 kB / 0.6245 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.889e-05/0.006945, allocations: 145.2 kB / 0.6246 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.006946, allocations: 0 / 0.6246 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.006986, allocations: 15.98 kB / 0.6246 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.006988, allocations: 0 / 0.6246 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.006997, allocations: 8 kB / 0.6246 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.006999, allocations: 3.938 kB / 0.6246 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006999, allocations: 0 / 0.6246 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.007151, allocations: 164.9 kB / 0.6248 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.007164, allocations: 11.94 kB / 0.6248 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.007181, allocations: 8 kB / 0.6248 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.007227, allocations: 7.984 kB / 0.6248 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.007265, allocations: 11.98 kB / 0.6248 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.007278, allocations: 8 kB / 0.6248 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.00732, allocations: 98.77 kB / 0.6249 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00732, allocations: 0 / 0.6249 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001439/0.007464, allocations: 27.94 kB / 0.6249 GB, free: 7.172 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 7.653e-05/0.00754, allocations: 103.2 kB / 0.625 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.007678, allocations: 75.91 kB / 0.6251 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.007679, allocations: 0 / 0.6251 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.988e-05/0.007739, allocations: 47.92 kB / 0.6252 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.007858, allocations: 18.34 kB / 0.6252 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.008175, allocations: 234.9 kB / 0.6254 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.646e-05/0.008222, allocations: 87.22 kB / 0.6255 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.008262, allocations: 20.48 kB / 0.6255 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of SimCode: time 4.6e-07/0.008262, allocations: 0 / 0.6255 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of Templates: time 0.001823/0.01009, allocations: 1.316 MB / 0.6268 GB, free: 5.234 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7905841935426] Failed to read output from testmodel.py, exit status != 0: 0.01440688967704773 0.021520447 0.016167164 Calling exit ...