Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8301/0.8301, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 185.8 kB / 188.5 MB, free: 15.8 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 426.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009649/0.0009649, allocations: 94.34 kB / 0.4945 GB, free: 8.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001575/0.001575, allocations: 263.6 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005132/0.0005133, allocations: 20 kB / 0.662 GB, free: 6.785 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.463, allocations: 79.29 MB / 0.7395 GB, free: 46.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.6037, allocations: 111.5 MB / 0.8483 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.604, allocations: 83.95 kB / 0.8484 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02428/0.6283, allocations: 8.972 MB / 0.8572 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6284, allocations: 0 / 0.8572 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.787e-05/0.6284, allocations: 4 kB / 0.8572 GB, free: 5.605 MB / 0.5261 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.0009936/0.6294, allocations: 0.5227 MB / 0.8577 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6295, allocations: 16.03 kB / 0.8577 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.6297, allocations: 32.56 kB / 0.8578 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.6302, allocations: 286.7 kB / 0.858 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.6302, allocations: 12.38 kB / 0.858 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.6302, allocations: 16.38 kB / 0.8581 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.6307, allocations: 225.3 kB / 0.8583 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.6307, allocations: 4.172 kB / 0.8583 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.6308, allocations: 11.94 kB / 0.8583 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.6308, allocations: 8 kB / 0.8583 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008971/0.6317, allocations: 0.749 MB / 0.859 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009766/0.6327, allocations: 0.6057 MB / 0.8596 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.6332, allocations: 305.8 kB / 0.8599 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.6333, allocations: 109.4 kB / 0.86 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.976e-05/0.6334, allocations: 20.23 kB / 0.86 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003035/0.6337, allocations: 183.3 kB / 0.8602 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.6337, allocations: 4 kB / 0.8602 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.000642/0.6344, allocations: 372.9 kB / 0.8606 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/0.6345, allocations: 136.5 kB / 0.8607 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.6348, allocations: 288.9 kB / 0.861 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.6349, allocations: 37.7 kB / 0.861 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.635, allocations: 128.7 kB / 0.8611 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.11e-05/0.635, allocations: 114.3 kB / 0.8612 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.6351, allocations: 8 kB / 0.8612 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6352, allocations: 342.7 kB / 0.8616 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.6353, allocations: 83.81 kB / 0.8616 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.6355, allocations: 123.4 kB / 0.8618 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.6358, allocations: 218.2 kB / 0.862 GB, free: 452 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6359, allocations: 0 / 0.862 GB, free: 452 kB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000421/0.6363, allocations: 281.1 kB / 0.8622 GB, free: 164 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.6363, allocations: 9.719 kB / 0.8623 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.6363, allocations: 0 / 0.8623 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6363, allocations: 0 / 0.8623 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.6366, allocations: 59.91 kB / 0.8623 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.6366, allocations: 4 kB / 0.8623 GB, free: 92 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.6367, allocations: 35.67 kB / 0.8623 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.6368, allocations: 12 kB / 0.8624 GB, free: 44 kB / 0.5261 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.000176/0.637, allocations: 169.7 kB / 0.8625 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.637, allocations: 27.72 kB / 0.8625 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006469/0.6377, allocations: 388.7 kB / 0.8629 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.6377, allocations: 8 kB / 0.8629 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6377, allocations: 0 / 0.8629 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.6377, allocations: 3.938 kB / 0.8629 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.6381, allocations: 353.2 kB / 0.8633 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.6381, allocations: 7.922 kB / 0.8633 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.6383, allocations: 51.98 kB / 0.8633 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.6383, allocations: 4 kB / 0.8633 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.6383, allocations: 11.98 kB / 0.8633 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.6383, allocations: 0 / 0.8633 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6383, allocations: 3.938 kB / 0.8633 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.6388, allocations: 329.7 kB / 0.8637 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.639, allocations: 156.7 kB / 0.8638 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.639, allocations: 8 kB / 0.8638 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.6392, allocations: 23.98 kB / 0.8638 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.6393, allocations: 27.95 kB / 0.8639 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.6393, allocations: 19.94 kB / 0.8639 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002194/0.6395, allocations: 220.4 kB / 0.8641 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6396, allocations: 0 / 0.8641 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003249/0.6399, allocations: 91.77 kB / 0.8642 GB, free: 14.07 MB / 0.5417 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.000918/0.6408, allocations: 417.5 kB / 0.8646 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003961/0.6412, allocations: 224.3 kB / 0.8648 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6412, allocations: 0 / 0.8648 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.6414, allocations: 140.1 kB / 0.8649 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.6418, allocations: 48.34 kB / 0.865 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.6428, allocations: 0.6006 MB / 0.8656 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.6432, allocations: 0.7624 MB / 0.8663 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004033/0.6436, allocations: 154.8 kB / 0.8665 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.6438, allocations: 39.42 kB / 0.8665 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.6438, allocations: 3.938 kB / 0.8665 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of Templates: time 0.008928/0.6527, allocations: 3.383 MB / 0.8698 GB, free: 8.398 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)