Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001261/0.001261, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.001812/0.001812, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.591/1.591, allocations: 252 MB / 0.5102 GB, free: 4.75 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0005379/0.0005379, allocations: 19.75 kB / 0.6243 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6101/0.6106, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002438/0.6131, allocations: 1.543 MB / 0.7296 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.6151, allocations: 1.398 MB / 0.731 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.6152, allocations: 3.938 kB / 0.731 GB, free: 8.453 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.6154, allocations: 23.92 kB / 0.731 GB, free: 8.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.6157, allocations: 63.67 kB / 0.7311 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.6161, allocations: 138.6 kB / 0.7312 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.6163, allocations: 233.4 kB / 0.7314 GB, free: 8.008 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.6165, allocations: 29.02 kB / 0.7315 GB, free: 7.977 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.6166, allocations: 79.81 kB / 0.7315 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.6168, allocations: 91.7 kB / 0.7316 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.6169, allocations: 12 kB / 0.7316 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.617, allocations: 55.97 kB / 0.7317 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.888e-05/0.6171, allocations: 67.81 kB / 0.7318 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.6172, allocations: 69.5 kB / 0.7318 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.6175, allocations: 213.5 kB / 0.732 GB, free: 7.395 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.6175, allocations: 0 / 0.732 GB, free: 7.395 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.467e-06/0.6175, allocations: 0 / 0.732 GB, free: 7.395 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.6176, allocations: 4 kB / 0.732 GB, free: 7.391 MB / 0.545 GB 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.0008569/0.6184, allocations: 0.4993 MB / 0.7325 GB, free: 6.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.6185, allocations: 8.031 kB / 0.7325 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.6186, allocations: 35.58 kB / 0.7326 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.619, allocations: 265.6 kB / 0.7328 GB, free: 6.496 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.619, allocations: 15.94 kB / 0.7328 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.619, allocations: 12 kB / 0.7328 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.6194, allocations: 236.7 kB / 0.7331 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.6194, allocations: 0 / 0.7331 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.6195, allocations: 12 kB / 0.7331 GB, free: 6.207 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.6195, allocations: 4 kB / 0.7331 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000878/0.6204, allocations: 0.7451 MB / 0.7338 GB, free: 5.457 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.6214, allocations: 0.6446 MB / 0.7344 GB, free: 4.762 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.6219, allocations: 301.9 kB / 0.7347 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.6221, allocations: 109.4 kB / 0.7348 GB, free: 4.352 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.925e-05/0.6221, allocations: 24.23 kB / 0.7349 GB, free: 4.328 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003497/0.6225, allocations: 179.4 kB / 0.735 GB, free: 4.141 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 1.443e-06/0.6225, allocations: 0 / 0.735 GB, free: 4.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.0006363/0.6231, allocations: 373.4 kB / 0.7354 GB, free: 3.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.6232, allocations: 136.5 kB / 0.7355 GB, free: 3.605 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.6236, allocations: 309 kB / 0.7358 GB, free: 3.297 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.6236, allocations: 29.7 kB / 0.7358 GB, free: 3.262 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.6237, allocations: 136.7 kB / 0.736 GB, free: 3.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.6238, allocations: 118.3 kB / 0.7361 GB, free: 3.004 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.6238, allocations: 4 kB / 0.7361 GB, free: 3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.624, allocations: 334.8 kB / 0.7364 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.6242, allocations: 83.89 kB / 0.7365 GB, free: 2.582 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.6243, allocations: 127.4 kB / 0.7366 GB, free: 2.445 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.6245, allocations: 109.5 kB / 0.7367 GB, free: 2.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6245, allocations: 0 / 0.7367 GB, free: 2.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004279/0.625, allocations: 284.9 kB / 0.737 GB, free: 2.055 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.625, allocations: 4 kB / 0.737 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.625, allocations: 0 / 0.737 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.625, allocations: 4.047 kB / 0.737 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.6253, allocations: 67.89 kB / 0.7371 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6253, allocations: 4 kB / 0.7371 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.6254, allocations: 27.83 kB / 0.7371 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.6254, allocations: 15.98 kB / 0.7371 GB, free: 1.934 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.6256, allocations: 161.5 kB / 0.7373 GB, free: 1.766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.6257, allocations: 39.58 kB / 0.7373 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006549/0.6263, allocations: 388.6 kB / 0.7377 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.6264, allocations: 0 / 0.7377 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.6264, allocations: 4 kB / 0.7377 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6264, allocations: 3.984 kB / 0.7377 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.6267, allocations: 333.3 kB / 0.738 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6267, allocations: 0 / 0.738 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.6269, allocations: 63.91 kB / 0.738 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6269, allocations: 7.891 kB / 0.7381 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.6269, allocations: 11.98 kB / 0.7381 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.6269, allocations: 4 kB / 0.7381 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6269, allocations: 4 kB / 0.7381 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.6273, allocations: 326 kB / 0.7384 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.6275, allocations: 148.6 kB / 0.7385 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.6275, allocations: 15.95 kB / 0.7385 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.6277, allocations: 27.97 kB / 0.7386 GB, free: 332 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.6278, allocations: 27.97 kB / 0.7386 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.6278, allocations: 19.92 kB / 0.7386 GB, free: 284 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001969/0.628, allocations: 236.4 kB / 0.7388 GB, free: 48 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.628, allocations: 0 / 0.7388 GB, free: 48 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003139/0.6284, allocations: 64.05 kB / 0.7389 GB, free: 15.98 MB / 0.5606 GB 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.tNext) * Number of discrete states: 1 (conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009078/0.6293, allocations: 408.4 kB / 0.7393 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004003/0.6297, allocations: 227.6 kB / 0.7395 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6297, allocations: 0 / 0.7395 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.6299, allocations: 135.9 kB / 0.7396 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.6302, allocations: 43.2 kB / 0.7397 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009094/0.6311, allocations: 0.5971 MB / 0.7403 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.6314, allocations: 0.7653 MB / 0.741 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003428/0.6318, allocations: 150.8 kB / 0.7412 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.847e-05/0.6319, allocations: 39.42 kB / 0.7412 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of SimCode: time 1.472e-06/0.6319, allocations: 0 / 0.7412 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.00622/0.6381, allocations: 3.159 MB / 0.7443 GB, free: 10.64 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) Environment - environmentSimulation: