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.006179/0.006179, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001258/0.001258, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.56/1.56, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4413/0.4413, allocations: 54.94 MB / 324.8 MB, free: 15.98 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.001546/0.001547, allocations: 68.22 kB / 456.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1399, allocations: 59.6 MB / 0.5037 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight): time 0.003115/0.143, allocations: 1.568 MB / 0.5053 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.1445, allocations: 1.078 MB / 0.5063 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.579e-05/0.1446, allocations: 1.281 kB / 0.5063 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.1449, allocations: 24.41 kB / 0.5063 GB, free: 7.836 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.0002359/0.1451, allocations: 46.27 kB / 0.5064 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.1454, allocations: 95.47 kB / 0.5065 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.1457, allocations: 200.9 kB / 0.5067 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1458, allocations: 16.95 kB / 0.5067 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.523e-05/0.1459, allocations: 73.36 kB / 0.5067 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.1461, allocations: 80.5 kB / 0.5068 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.1462, allocations: 13.75 kB / 0.5068 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.1463, allocations: 90.89 kB / 0.5069 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.696e-05/0.1464, allocations: 72.69 kB / 0.507 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1465, allocations: 92.03 kB / 0.5071 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.1469, allocations: 272.5 kB / 0.5073 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.147, allocations: 0 / 0.5073 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.858e-06/0.147, allocations: 1.312 kB / 0.5073 GB, free: 7.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.147, allocations: 0 / 0.5073 GB, free: 7.184 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007338/0.1477, allocations: 0.5197 MB / 0.5078 GB, free: 6.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1478, allocations: 9.094 kB / 0.5079 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003865/0.1482, allocations: 49.7 kB / 0.5079 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.1484, allocations: 247.4 kB / 0.5081 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1485, allocations: 16 kB / 0.5082 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.1485, allocations: 12 kB / 0.5082 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.1489, allocations: 207.6 kB / 0.5084 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.149, allocations: 0 / 0.5084 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.149, allocations: 8 kB / 0.5084 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.149, allocations: 11.88 kB / 0.5084 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006847/0.1497, allocations: 0.745 MB / 0.5091 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007113/0.1504, allocations: 0.5668 MB / 0.5097 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.1509, allocations: 324.5 kB / 0.51 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.1511, allocations: 109.4 kB / 0.5101 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.1512, allocations: 16.25 kB / 0.5101 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000359/0.1515, allocations: 180.9 kB / 0.5103 GB, free: 4.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.543e-06/0.1516, allocations: 0 / 0.5103 GB, free: 4.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006981/0.1523, allocations: 389.8 kB / 0.5106 GB, free: 3.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.1523, allocations: 81.11 kB / 0.5107 GB, free: 3.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.1525, allocations: 287 kB / 0.511 GB, free: 3.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1526, allocations: 29.7 kB / 0.511 GB, free: 3.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.1526, allocations: 128.6 kB / 0.5111 GB, free: 3.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.61e-05/0.1527, allocations: 114.5 kB / 0.5113 GB, free: 3.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.1528, allocations: 65.69 kB / 0.5113 GB, free: 2.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.357e-05/0.1529, allocations: 330.8 kB / 0.5116 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.153, allocations: 83.95 kB / 0.5117 GB, free: 2.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.1532, allocations: 113.6 kB / 0.5118 GB, free: 2.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.1536, allocations: 233.4 kB / 0.512 GB, free: 2.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1536, allocations: 0 / 0.512 GB, free: 2.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004398/0.154, allocations: 281.1 kB / 0.5123 GB, free: 1.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.154, allocations: 8 kB / 0.5123 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1541, allocations: 0 / 0.5123 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1541, allocations: 3.938 kB / 0.5123 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.1543, allocations: 63.89 kB / 0.5124 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.1543, allocations: 0 / 0.5124 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.1544, allocations: 27.75 kB / 0.5124 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.1545, allocations: 15.98 kB / 0.5124 GB, free: 1.816 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 (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.0001184/0.1546, allocations: 161.8 kB / 0.5126 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.1546, allocations: 19.72 kB / 0.5126 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.836e-05/0.1547, allocations: 42.62 kB / 0.5126 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1547, allocations: 11.94 kB / 0.5126 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1548, allocations: 0 / 0.5126 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1548, allocations: 4 kB / 0.5127 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.155, allocations: 329.2 kB / 0.513 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.155, allocations: 0 / 0.513 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.1552, allocations: 59.91 kB / 0.513 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1552, allocations: 0 / 0.513 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.1552, allocations: 11.98 kB / 0.513 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1552, allocations: 3.938 kB / 0.513 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1552, allocations: 0 / 0.513 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004436/0.1557, allocations: 324.7 kB / 0.5133 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.592e-05/0.1558, allocations: 144.6 kB / 0.5135 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.1558, allocations: 4 kB / 0.5135 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.729e-05/0.1559, allocations: 15.92 kB / 0.5135 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.156, allocations: 23.97 kB / 0.5135 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.156, allocations: 12 kB / 0.5135 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1562, allocations: 220.4 kB / 0.5137 GB, free: 372 kB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1562, allocations: 0 / 0.5137 GB, free: 372 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1564, allocations: 59.98 kB / 0.5138 GB, free: 312 kB / 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 (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.0008696/0.1573, allocations: 406.7 kB / 0.5142 GB, free: 48 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000504/0.1578, allocations: 239.8 kB / 0.5144 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1578, allocations: 0 / 0.5144 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.1581, allocations: 132.4 kB / 0.5145 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.1584, allocations: 39.14 kB / 0.5146 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009013/0.1593, allocations: 0.4968 MB / 0.5151 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.1596, allocations: 0.7501 MB / 0.5158 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000323/0.16, allocations: 146.8 kB / 0.5159 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.1601, allocations: 47.42 kB / 0.516 GB, free: 14.15 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1601, allocations: 3.938 kB / 0.516 GB, free: 14.14 MB / 398.1 MB Notification: Performance of Templates: time 0.006048/0.1661, allocations: 2.607 MB / 0.5185 GB, free: 11.55 MB / 398.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)