Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01011/0.01011, allocations: 170 kB / 16.27 MB, free: 6.66 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.554/1.554, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.411/0.411, allocations: 55.01 MB / 325.8 MB, free: 0.5352 MB / 254.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.0006527/0.0006527, allocations: 12.56 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.379, allocations: 60.72 MB / 458 MB, free: 39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002002/0.3811, allocations: 1.506 MB / 459.5 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.3829, allocations: 1.36 MB / 460.8 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.383, allocations: 2.688 kB / 460.8 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.3833, allocations: 27.27 kB / 460.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.3834, allocations: 47.83 kB / 460.9 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.3838, allocations: 118.6 kB / 461 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.3841, allocations: 231.5 kB / 461.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3842, allocations: 28.56 kB / 461.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.037e-05/0.3843, allocations: 66.55 kB / 461.4 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.3845, allocations: 84.73 kB / 461.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.3846, allocations: 10.41 kB / 461.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.3847, allocations: 61.41 kB / 461.5 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.9e-05/0.3848, allocations: 74.27 kB / 461.6 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.3849, allocations: 124.5 kB / 461.7 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.3852, allocations: 276.9 kB / 462 MB, free: 38.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3852, allocations: 0 / 462 MB, free: 38.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3852, allocations: 2.938 kB / 462 MB, free: 38.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.3852, allocations: 1.531 kB / 462 MB, free: 38.65 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.0006906/0.3859, allocations: 496.5 kB / 462.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.386, allocations: 13.44 kB / 462.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.3862, allocations: 31.75 kB / 462.5 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.3864, allocations: 259.6 kB / 462.8 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.3864, allocations: 16.06 kB / 462.8 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.3865, allocations: 17.44 kB / 462.8 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.3868, allocations: 220.4 kB / 463 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3868, allocations: 3.281 kB / 463 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.3869, allocations: 9.5 kB / 463 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3869, allocations: 5.094 kB / 463 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007647/0.3877, allocations: 0.7381 MB / 463.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008656/0.3885, allocations: 0.5919 MB / 464.4 MB, free: 37.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.389, allocations: 298.2 kB / 464.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.3892, allocations: 114.2 kB / 464.8 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.3892, allocations: 23.78 kB / 464.8 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003401/0.3896, allocations: 190.9 kB / 465 MB, free: 37.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.3896, allocations: 1.156 kB / 465 MB, free: 37.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005384/0.3901, allocations: 374.3 kB / 465.3 MB, free: 37.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.3902, allocations: 80.58 kB / 465.4 MB, free: 37.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.3904, allocations: 299.4 kB / 465.7 MB, free: 37.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.3905, allocations: 32.67 kB / 465.7 MB, free: 37.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.3905, allocations: 132.5 kB / 465.9 MB, free: 36.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.623e-05/0.3906, allocations: 109 kB / 466 MB, free: 36.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.3907, allocations: 34.67 kB / 466 MB, free: 36.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.138e-05/0.3907, allocations: 335.3 kB / 466.3 MB, free: 36.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.3909, allocations: 86.89 kB / 466.4 MB, free: 36.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.391, allocations: 108.4 kB / 466.5 MB, free: 36.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.3912, allocations: 216 kB / 466.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3913, allocations: 0 / 466.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003236/0.3916, allocations: 276.8 kB / 467 MB, free: 36.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3916, allocations: 7.625 kB / 467 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3916, allocations: 3.531 kB / 467 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3916, allocations: 2.031 kB / 467 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.3918, allocations: 62.31 kB / 467.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3919, allocations: 2.875 kB / 467.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.352e-05/0.3919, allocations: 26.27 kB / 467.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.392, allocations: 9.844 kB / 467.1 MB, free: 36.24 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 (conTim.tStart,$PRE.conTim.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.0001233/0.3921, allocations: 166.4 kB / 467.3 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.3922, allocations: 27.25 kB / 467.3 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005566/0.3927, allocations: 390.9 kB / 467.7 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3927, allocations: 5.891 kB / 467.7 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3927, allocations: 0 / 467.7 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3928, allocations: 0 / 467.7 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.393, allocations: 332.7 kB / 468 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.393, allocations: 0 / 468 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.3932, allocations: 64.31 kB / 468.1 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3932, allocations: 8.75 kB / 468.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.3932, allocations: 7.844 kB / 468.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3932, allocations: 2.688 kB / 468.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3932, allocations: 1.312 kB / 468.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.3936, allocations: 315.7 kB / 468.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.3937, allocations: 145 kB / 468.6 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.3937, allocations: 11.97 kB / 468.6 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.3939, allocations: 29.3 kB / 468.6 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.3939, allocations: 18.59 kB / 468.6 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.394, allocations: 18.95 kB / 468.6 MB, free: 35.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.3941, allocations: 228.6 kB / 468.9 MB, free: 35.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3941, allocations: 0 / 468.9 MB, free: 35.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.3944, allocations: 69.81 kB / 468.9 MB, free: 35.22 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,conTim.tStart) * Number of discrete states: 1 (conTim.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.0008416/0.3952, allocations: 408.8 kB / 469.3 MB, free: 35.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.3956, allocations: 232.7 kB / 469.5 MB, free: 35.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3956, allocations: 3.938 kB / 469.6 MB, free: 35.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.3957, allocations: 125.5 kB / 469.7 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.396, allocations: 39.94 kB / 469.7 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000722/0.3968, allocations: 0.6106 MB / 470.3 MB, free: 34.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.397, allocations: 0.7599 MB / 471.1 MB, free: 33.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002709/0.3972, allocations: 148.2 kB / 471.2 MB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/0.3973, allocations: 39.59 kB / 471.3 MB, free: 33.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3973, allocations: 0 / 471.3 MB, free: 33.87 MB / 382.1 MB Notification: Performance of Templates: time 0.005616/0.4029, allocations: 2.816 MB / 474.1 MB, free: 33.65 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) Environment - environmentSimulation: