Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.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.CheckCeilingHeight,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006143/0.006143, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001324/0.001324, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.266/1.266, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2501/0.2501, allocations: 54.96 MB / 324.9 MB, free: 4.836 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.001415/0.001415, allocations: 75.83 kB / 456.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1056, allocations: 59.6 MB / 0.5037 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight): time 0.002799/0.1085, allocations: 1.568 MB / 0.5053 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1099, allocations: 1.079 MB / 0.5063 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.11, allocations: 0 / 0.5063 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.1102, allocations: 15.86 kB / 0.5063 GB, free: 4.363 MB / 398.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.0001922/0.1104, allocations: 55.75 kB / 0.5064 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.1107, allocations: 102.9 kB / 0.5065 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.111, allocations: 197.7 kB / 0.5067 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1111, allocations: 23.97 kB / 0.5067 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.609e-05/0.1112, allocations: 63.89 kB / 0.5067 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.1114, allocations: 75.8 kB / 0.5068 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.1114, allocations: 16 kB / 0.5068 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.1116, allocations: 95.88 kB / 0.5069 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.366e-05/0.1117, allocations: 79.81 kB / 0.507 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1118, allocations: 91.41 kB / 0.5071 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.1121, allocations: 275 kB / 0.5074 GB, free: 3.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1121, allocations: 0 / 0.5074 GB, free: 3.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1121, allocations: 0 / 0.5074 GB, free: 3.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1121, allocations: 4 kB / 0.5074 GB, free: 3.305 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007004/0.1128, allocations: 0.5073 MB / 0.5079 GB, free: 2.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1129, allocations: 8.031 kB / 0.5079 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003302/0.1132, allocations: 52.61 kB / 0.5079 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.1135, allocations: 267.2 kB / 0.5082 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.1135, allocations: 15.86 kB / 0.5082 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1136, allocations: 12 kB / 0.5082 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.1139, allocations: 200.6 kB / 0.5084 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.114, allocations: 7.875 kB / 0.5084 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.114, allocations: 8 kB / 0.5084 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.114, allocations: 7.938 kB / 0.5084 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009121/0.1149, allocations: 0.7451 MB / 0.5091 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/0.1158, allocations: 0.5512 MB / 0.5097 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.1163, allocations: 328.5 kB / 0.51 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.1165, allocations: 105.4 kB / 0.5101 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.1166, allocations: 16.25 kB / 0.5101 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003614/0.117, allocations: 176.9 kB / 0.5103 GB, free: 152 kB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.117, allocations: 4 kB / 0.5103 GB, free: 148 kB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007512/0.1177, allocations: 393.8 kB / 0.5106 GB, free: 15.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.1178, allocations: 81.11 kB / 0.5107 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.1181, allocations: 287.7 kB / 0.511 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.1181, allocations: 41.69 kB / 0.511 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.1182, allocations: 108.8 kB / 0.5111 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/0.1183, allocations: 118.3 kB / 0.5113 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.1184, allocations: 65.69 kB / 0.5113 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1185, allocations: 334.8 kB / 0.5116 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.1186, allocations: 83.95 kB / 0.5117 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.1188, allocations: 117.6 kB / 0.5118 GB, free: 14.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.1192, allocations: 225.3 kB / 0.512 GB, free: 14.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1192, allocations: 0 / 0.512 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004848/0.1197, allocations: 281.1 kB / 0.5123 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1198, allocations: 12 kB / 0.5123 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1198, allocations: 0 / 0.5123 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1198, allocations: 3.938 kB / 0.5123 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.12, allocations: 67.89 kB / 0.5124 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.12, allocations: 0 / 0.5124 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.1202, allocations: 19.84 kB / 0.5124 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.1202, allocations: 11.98 kB / 0.5124 GB, free: 13.86 MB / 414.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 (35): * Single equations (assignments): 35 * 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.0001572/0.1203, allocations: 162.5 kB / 0.5126 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.1204, allocations: 27.72 kB / 0.5126 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.126e-05/0.1205, allocations: 38.64 kB / 0.5126 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.1205, allocations: 7.938 kB / 0.5127 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1205, allocations: 3.938 kB / 0.5127 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1205, allocations: 0 / 0.5127 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.1208, allocations: 321.3 kB / 0.513 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1209, allocations: 0 / 0.513 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.1211, allocations: 63.91 kB / 0.513 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1211, allocations: 4 kB / 0.513 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.1211, allocations: 11.98 kB / 0.513 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1211, allocations: 3.938 kB / 0.513 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1211, allocations: 4 kB / 0.513 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005408/0.1217, allocations: 320.6 kB / 0.5133 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.1218, allocations: 136.7 kB / 0.5135 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.1218, allocations: 4 kB / 0.5135 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1219, allocations: 19.92 kB / 0.5135 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.122, allocations: 23.97 kB / 0.5135 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.122, allocations: 12 kB / 0.5135 GB, free: 12.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.1222, allocations: 220.4 kB / 0.5137 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1222, allocations: 0 / 0.5137 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1225, allocations: 63.89 kB / 0.5138 GB, free: 12.35 MB / 414.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 (34): * Single equations (assignments): 33 * 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.0008949/0.1234, allocations: 410.4 kB / 0.5142 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004676/0.1239, allocations: 243.8 kB / 0.5144 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1239, allocations: 0 / 0.5144 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.1241, allocations: 132.4 kB / 0.5146 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.1244, allocations: 41.09 kB / 0.5146 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008157/0.1252, allocations: 492.9 kB / 0.5151 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1255, allocations: 0.7542 MB / 0.5158 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003105/0.1259, allocations: 142.8 kB / 0.5159 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.1259, allocations: 43.41 kB / 0.516 GB, free: 10.24 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.126, allocations: 3.938 kB / 0.516 GB, free: 10.24 MB / 414.1 MB Notification: Performance of Templates: time 0.005607/0.1316, allocations: 2.605 MB / 0.5185 GB, free: 7.676 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe 2>&1)