Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001294/0.001294, allocations: 92.7 kB / 19.44 MB, free: 324 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.001458/0.001458, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.447/1.447, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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-535:34: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-535:42: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.192/1.192, allocations: 154.8 MB / 414.3 MB, free: 464 kB / 378.7 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.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5199 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.216e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003556/0.003588, allocations: 1.601 MB / 0.5214 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.004919, allocations: 0.5711 MB / 0.522 GB, free: 128 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.004982, allocations: 0 / 0.522 GB, free: 128 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.086e-05/0.005022, allocations: 9.328 kB / 0.522 GB, free: 120 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005395/0.005562, allocations: 36.88 kB / 0.522 GB, free: 84 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.005799, allocations: 43.81 kB / 0.5221 GB, free: 40 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.006011, allocations: 124.2 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.006138, allocations: 15.92 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.006387, allocations: 73.14 kB / 0.5223 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.006525, allocations: 39.88 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.006553, allocations: 8 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.427e-05/0.006617, allocations: 17.34 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.006656, allocations: 23.91 kB / 0.5224 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.313e-05/0.006729, allocations: 31.92 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.00696, allocations: 111.6 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.006965, allocations: 0.6875 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.006966, allocations: 0 / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.006971, allocations: 1.844 kB / 0.5225 GB, free: 15.61 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008763/0.007848, allocations: 327.8 kB / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.007898, allocations: 8.031 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.008146, allocations: 28.81 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.008314, allocations: 133 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.008344, allocations: 5.844 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.008364, allocations: 4.375 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.008578, allocations: 86.2 kB / 0.5231 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.008589, allocations: 192 / 0.5231 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.008608, allocations: 5.344 kB / 0.5231 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.008616, allocations: 3.938 kB / 0.5231 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.008752, allocations: 48.94 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.009332, allocations: 268.3 kB / 0.5234 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.009674, allocations: 111.9 kB / 0.5235 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.414e-05/0.009768, allocations: 44.77 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.009789, allocations: 0 / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.01008, allocations: 99.78 kB / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.01008, allocations: 1.031 kB / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0005144/0.01059, allocations: 153.5 kB / 0.5238 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.01064, allocations: 52.62 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.0108, allocations: 129.7 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.01082, allocations: 25.7 kB / 0.524 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/0.01091, allocations: 96.5 kB / 0.5241 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.01096, allocations: 37.42 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.01102, allocations: 29.7 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.01122, allocations: 314.8 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/0.01129, allocations: 31.98 kB / 0.5245 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-05/0.01136, allocations: 29.8 kB / 0.5245 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.01149, allocations: 68.05 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.0115, allocations: 3.984 kB / 0.5246 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002191/0.01172, allocations: 117.6 kB / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.01173, allocations: 4 kB / 0.5247 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.01174, allocations: 1.031 kB / 0.5247 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.01176, allocations: 0 / 0.5247 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.01189, allocations: 23.98 kB / 0.5247 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.01189, allocations: 0.9375 kB / 0.5247 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.012, allocations: 7.938 kB / 0.5247 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.01202, allocations: 11.08 kB / 0.5247 GB, free: 13.18 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: 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 0.0001486/0.01217, allocations: 125.7 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.0122, allocations: 15.95 kB / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.01254, allocations: 146.1 kB / 0.525 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.01255, allocations: 4 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.01255, allocations: 0 / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.01256, allocations: 3.984 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.01276, allocations: 144 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.01277, allocations: 3.984 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-05/0.01285, allocations: 12 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01286, allocations: 4 kB / 0.5251 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.01287, allocations: 4 kB / 0.5252 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.01288, allocations: 3.938 kB / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.01288, allocations: 3.984 kB / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.0132, allocations: 162.5 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.01323, allocations: 11.89 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.01326, allocations: 8 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.01337, allocations: 7.984 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.01343, allocations: 17.2 kB / 0.5254 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.01345, allocations: 7.984 kB / 0.5254 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.503e-05/0.01355, allocations: 102.2 kB / 0.5255 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01355, allocations: 0.6562 kB / 0.5255 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002178/0.01377, allocations: 24 kB / 0.5255 GB, free: 12.33 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: 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 0.0001625/0.01393, allocations: 100.5 kB / 0.5256 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.01419, allocations: 78.34 kB / 0.5257 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01419, allocations: 5.938 kB / 0.5257 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01429, allocations: 43.92 kB / 0.5257 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.01449, allocations: 23.88 kB / 0.5257 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.01505, allocations: 207.1 kB / 0.5259 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.814e-05/0.01514, allocations: 87.27 kB / 0.526 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.47e-05/0.0152, allocations: 6.812 kB / 0.526 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.01526, allocations: 20.48 kB / 0.526 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.01526, allocations: 0 / 0.526 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.004521/0.01978, allocations: 1.094 MB / 0.5271 GB, free: 10.7 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1450539220822975]