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.0007739/0.0007739, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001038/0.001812, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007064/0.0007064, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008576/0.001564, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9618/0.9618, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08298/1.045, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7696/0.7696, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2365/1.006, allocations: 49.14 MB / 448.4 MB, free: 6 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.262e-06/1.262e-06, allocations: 0 / 449.7 MB, free: 4.695 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.671e-05, allocations: 3.438 kB / 449.7 MB, free: 4.691 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001992/0.002009, allocations: 1.708 MB / 451.4 MB, free: 3.012 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000763/0.002772, allocations: 0.5955 MB / 452 MB, free: 2.422 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.838e-05/0.002821, allocations: 0 / 452 MB, free: 2.422 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.002847, allocations: 9.797 kB / 452 MB, free: 2.414 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.002991, allocations: 40.09 kB / 452.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.003112, allocations: 45.56 kB / 452.1 MB, free: 2.34 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.003221, allocations: 123.8 kB / 452.2 MB, free: 2.23 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.033e-05/0.003302, allocations: 13.28 kB / 452.2 MB, free: 2.219 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.003463, allocations: 79.8 kB / 452.3 MB, free: 2.141 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.181e-05/0.003555, allocations: 43.88 kB / 452.4 MB, free: 2.098 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.872e-05/0.003573, allocations: 8.844 kB / 452.4 MB, free: 2.09 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.779e-05/0.003641, allocations: 16 kB / 452.4 MB, free: 2.074 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.00366, allocations: 13.44 kB / 452.4 MB, free: 2.062 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.003691, allocations: 27.94 kB / 452.4 MB, free: 2.035 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.003806, allocations: 75.69 kB / 452.5 MB, free: 1.961 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.449e-05/0.003821, allocations: 0 / 452.5 MB, free: 1.961 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.003821, allocations: 0 / 452.5 MB, free: 1.961 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.003836, allocations: 0.625 kB / 452.5 MB, free: 1.961 MB / 426.7 MB 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.0004802/0.004316, allocations: 315.8 kB / 452.8 MB, free: 1.633 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.596e-05/0.004342, allocations: 8.625 kB / 452.8 MB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.004496, allocations: 110.9 kB / 452.9 MB, free: 1.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.986e-05/0.004575, allocations: 117.7 kB / 453 MB, free: 1.359 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.004587, allocations: 9.031 kB / 453.1 MB, free: 1.352 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.004599, allocations: 8.375 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.778e-05/0.004697, allocations: 83.55 kB / 453.1 MB, free: 1.254 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.004704, allocations: 1.078 kB / 453.1 MB, free: 1.254 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.004711, allocations: 1.625 kB / 453.1 MB, free: 1.254 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.004717, allocations: 7.875 kB / 453.2 MB, free: 1.246 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.968e-05/0.004756, allocations: 26.09 kB / 453.2 MB, free: 1.223 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.005003, allocations: 196.6 kB / 453.4 MB, free: 1.016 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.005147, allocations: 75 kB / 453.4 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.005174, allocations: 28.78 kB / 453.5 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.005188, allocations: 7.938 kB / 453.5 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.005298, allocations: 87.28 kB / 453.6 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.0053, allocations: 0 / 453.6 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001335/0.005433, allocations: 77.66 kB / 453.6 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.005463, allocations: 55.41 kB / 453.7 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.005789, allocations: 125.8 kB / 453.8 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.005807, allocations: 34.61 kB / 453.9 MB, free: 492 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.005834, allocations: 92.31 kB / 453.9 MB, free: 392 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.005864, allocations: 39.81 kB / 454 MB, free: 352 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.005899, allocations: 26.58 kB / 454 MB, free: 320 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.005973, allocations: 318.8 kB / 454.3 MB, free: 15.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.005992, allocations: 12.75 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.666e-05/0.006008, allocations: 15.98 kB / 454.3 MB, free: 15.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.737e-05/0.006056, allocations: 42.5 kB / 454.4 MB, free: 15.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006057, allocations: 0 / 454.4 MB, free: 15.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.343e-05/0.006131, allocations: 82.14 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.006141, allocations: 8.656 kB / 454.5 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.006145, allocations: 0 / 454.5 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.006152, allocations: 0.625 kB / 454.5 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.006221, allocations: 27.91 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.006224, allocations: 0.5625 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.006263, allocations: 8.562 kB / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.00627, allocations: 4 kB / 454.5 MB, free: 15.79 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: 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 6.202e-05/0.006332, allocations: 117.7 kB / 454.6 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.006346, allocations: 15.94 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.006451, allocations: 93.39 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.006453, allocations: 0 / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.006454, allocations: 4 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006457, allocations: 0 / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.775e-05/0.006535, allocations: 97.81 kB / 454.8 MB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.006537, allocations: 4.984 kB / 454.8 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.006579, allocations: 16 kB / 454.9 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.006593, allocations: 15.83 kB / 454.9 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.006595, allocations: 4.688 kB / 454.9 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.006601, allocations: 3.984 kB / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.006602, allocations: 0.9375 kB / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006603, allocations: 0 / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.418e-05/0.006687, allocations: 109.9 kB / 455 MB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.006703, allocations: 7.938 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.006738, allocations: 8.781 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.006767, allocations: 11.97 kB / 455 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.006776, allocations: 0.7812 kB / 455 MB, free: 15.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.069e-05/0.006797, allocations: 28.83 kB / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006797, allocations: 0 / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001037/0.006901, allocations: 25.16 kB / 455.1 MB, free: 15.19 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: 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 6.914e-05/0.00697, allocations: 82.34 kB / 455.2 MB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.411e-05/0.007054, allocations: 52.41 kB / 455.2 MB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.00706, allocations: 4 kB / 455.2 MB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.268e-05/0.007103, allocations: 40.78 kB / 455.3 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.189e-05/0.007175, allocations: 15.98 kB / 455.3 MB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.008535, allocations: 250.3 kB / 455.5 MB, free: 14.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.913e-05/0.008564, allocations: 64.34 kB / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.828e-05/0.008602, allocations: 7.219 kB / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.008658, allocations: 67.3 kB / 455.6 MB, free: 14.57 MB / 442.7 MB Notification: Performance of SimCode: time 8.11e-07/0.008659, allocations: 0.9062 kB / 455.6 MB, free: 14.57 MB / 442.7 MB Notification: Performance of Templates: time 0.002436/0.01109, allocations: 1.119 MB / 456.8 MB, free: 13.53 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4002689588814974]