Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001485, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4065/0.4065, allocations: 54.95 MB / 324.7 MB, free: 15.99 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 71.89 kB / 395.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1439, allocations: 59.59 MB / 454.9 MB, free: 196 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation): time 0.269/0.413, allocations: 1.649 MB / 456.6 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.4151, allocations: 1.191 MB / 457.8 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.57e-05/0.4152, allocations: 0 / 457.8 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.4156, allocations: 27.2 kB / 457.8 MB, free: 38.75 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.4158, allocations: 52.22 kB / 457.9 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.4163, allocations: 110.5 kB / 458 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.4166, allocations: 231.2 kB / 458.2 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.4168, allocations: 30.66 kB / 458.2 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.4169, allocations: 78.72 kB / 458.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.4172, allocations: 98.7 kB / 458.4 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.4172, allocations: 17.38 kB / 458.4 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.4174, allocations: 94.98 kB / 458.5 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.4175, allocations: 77.08 kB / 458.6 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.479e-05/0.4176, allocations: 103.9 kB / 458.7 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.4179, allocations: 287.5 kB / 459 MB, free: 38.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.418, allocations: 0 / 459 MB, free: 38.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.418, allocations: 0 / 459 MB, free: 38.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.418, allocations: 0.5 kB / 459 MB, free: 38.55 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007534/0.4187, allocations: 0.5419 MB / 459.5 MB, free: 38.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4188, allocations: 10.72 kB / 459.5 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000517/0.4193, allocations: 70.11 kB / 459.6 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.4197, allocations: 258.8 kB / 459.8 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.4197, allocations: 17.41 kB / 459.8 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.4198, allocations: 18.81 kB / 459.9 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.4203, allocations: 234.2 kB / 460.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.4203, allocations: 0 / 460.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.4204, allocations: 8.328 kB / 460.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.4204, allocations: 3.938 kB / 460.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.4216, allocations: 0.7664 MB / 460.9 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.4229, allocations: 0.6093 MB / 461.5 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007657/0.4237, allocations: 346.5 kB / 461.8 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.4239, allocations: 126.2 kB / 461.9 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.174e-05/0.424, allocations: 24.02 kB / 462 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005535/0.4246, allocations: 190 kB / 462.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.204e-06/0.4246, allocations: 3.031 kB / 462.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0009651/0.4256, allocations: 414.5 kB / 462.6 MB, free: 37.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.4256, allocations: 83.73 kB / 462.6 MB, free: 37.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.4259, allocations: 297.2 kB / 462.9 MB, free: 36.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.426, allocations: 32.98 kB / 463 MB, free: 36.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.426, allocations: 133.1 kB / 463.1 MB, free: 36.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.407e-05/0.4261, allocations: 111.9 kB / 463.2 MB, free: 36.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.4262, allocations: 69.61 kB / 463.3 MB, free: 36.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.33e-05/0.4263, allocations: 335.6 kB / 463.6 MB, free: 36.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.4266, allocations: 94.64 kB / 463.7 MB, free: 36.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.4268, allocations: 126.9 kB / 463.8 MB, free: 36.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.4273, allocations: 237.7 kB / 464 MB, free: 36.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.4273, allocations: 0.5625 kB / 464 MB, free: 36.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006033/0.4279, allocations: 308.6 kB / 464.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.428, allocations: 9.75 kB / 464.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.428, allocations: 1.688 kB / 464.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.428, allocations: 4.547 kB / 464.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.4283, allocations: 68.75 kB / 464.4 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.4283, allocations: 1.641 kB / 464.4 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.4285, allocations: 37.38 kB / 464.5 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.4285, allocations: 16.31 kB / 464.5 MB, free: 35.99 MB / 382.1 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 (timCon.tStart,$PRE.timCon.tStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001415/0.4287, allocations: 162.8 kB / 464.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.4287, allocations: 29.34 kB / 464.7 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.4288, allocations: 38.44 kB / 464.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.4288, allocations: 3.969 kB / 464.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4288, allocations: 0 / 464.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4288, allocations: 3.234 kB / 464.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.4291, allocations: 339.2 kB / 465.1 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4291, allocations: 0 / 465.1 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.4293, allocations: 60.91 kB / 465.1 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.4294, allocations: 10.84 kB / 465.1 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.4294, allocations: 10.38 kB / 465.1 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.4294, allocations: 7 kB / 465.1 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4294, allocations: 1.688 kB / 465.1 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005651/0.43, allocations: 341.3 kB / 465.5 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.4301, allocations: 148.5 kB / 465.6 MB, free: 35.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.4301, allocations: 11.75 kB / 465.6 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.4303, allocations: 14.8 kB / 465.6 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.4304, allocations: 22.25 kB / 465.7 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.4304, allocations: 11.7 kB / 465.7 MB, free: 35.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.4306, allocations: 232 kB / 465.9 MB, free: 35.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4306, allocations: 0.75 kB / 465.9 MB, free: 35.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.4309, allocations: 53.66 kB / 466 MB, free: 35.11 MB / 382.1 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,timCon.tStart) * Number of discrete states: 1 (timCon.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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 0.0009974/0.4319, allocations: 414 kB / 466.4 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006518/0.4326, allocations: 330.1 kB / 466.7 MB, free: 34.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4326, allocations: 0 / 466.7 MB, free: 34.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.4329, allocations: 148.5 kB / 466.8 MB, free: 34.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.4332, allocations: 33.55 kB / 466.9 MB, free: 34.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009471/0.4341, allocations: 0.5337 MB / 467.4 MB, free: 34.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.4344, allocations: 0.7581 MB / 468.2 MB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003387/0.4347, allocations: 145.5 kB / 468.3 MB, free: 33.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/0.4348, allocations: 46.5 kB / 468.3 MB, free: 33.84 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4348, allocations: 1.031 kB / 468.3 MB, free: 33.84 MB / 382.1 MB Notification: Performance of Templates: time 0.005817/0.4407, allocations: 2.708 MB / 471 MB, free: 33.62 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe 2>&1)