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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 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.8727/0.8727, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 176.9 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008517/0.0008517, allocations: 91.55 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002283/0.002283, allocations: 290.2 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.58e-05/1.582e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.5631, allocations: 112.7 MB / 0.8674 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003908/0.5635, allocations: 95.81 kB / 0.8675 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02431/0.5879, allocations: 8.81 MB / 0.8761 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5879, allocations: 0 / 0.8761 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.5879, allocations: 4 kB / 0.8761 GB, free: 6.238 MB / 0.5417 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.0006208/0.5885, allocations: 0.495 MB / 0.8766 GB, free: 5.699 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.5886, allocations: 12.03 kB / 0.8766 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.5887, allocations: 27.72 kB / 0.8767 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.5891, allocations: 269.6 kB / 0.8769 GB, free: 5.359 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.5892, allocations: 11.95 kB / 0.8769 GB, free: 5.348 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.5892, allocations: 19.92 kB / 0.8769 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000849/0.5901, allocations: 0.7332 MB / 0.8777 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.5904, allocations: 204.9 kB / 0.8778 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.5904, allocations: 0 / 0.8778 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.5904, allocations: 0 / 0.8778 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.5904, allocations: 4 kB / 0.8779 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.5913, allocations: 0.5671 MB / 0.8784 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.5917, allocations: 277.7 kB / 0.8787 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.5919, allocations: 93.41 kB / 0.8788 GB, free: 3.391 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.5919, allocations: 16.25 kB / 0.8788 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.5922, allocations: 175.5 kB / 0.8789 GB, free: 3.191 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 2.996e-06/0.5922, allocations: 0 / 0.8789 GB, free: 3.191 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.0004569/0.5927, allocations: 272.8 kB / 0.8792 GB, free: 2.918 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.5928, allocations: 136.5 kB / 0.8793 GB, free: 2.754 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.593, allocations: 252.5 kB / 0.8796 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.5931, allocations: 25.7 kB / 0.8796 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.5932, allocations: 136.7 kB / 0.8797 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.497e-05/0.5933, allocations: 114.4 kB / 0.8798 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.5933, allocations: 0 / 0.8798 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5934, allocations: 338.8 kB / 0.8802 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.5935, allocations: 71.97 kB / 0.8802 GB, free: 1.805 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.5937, allocations: 115.4 kB / 0.8803 GB, free: 1.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.5939, allocations: 108.5 kB / 0.8804 GB, free: 1.574 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5939, allocations: 4 kB / 0.8804 GB, free: 1.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003922/0.5943, allocations: 257.1 kB / 0.8807 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.5943, allocations: 5.094 kB / 0.8807 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.5943, allocations: 0 / 0.8807 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5943, allocations: 4 kB / 0.8807 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.5946, allocations: 63.91 kB / 0.8808 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5946, allocations: 4 kB / 0.8808 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.5947, allocations: 27.77 kB / 0.8808 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.5948, allocations: 12 kB / 0.8808 GB, free: 1.199 MB / 0.5417 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 () * 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.0001008/0.5949, allocations: 116.9 kB / 0.8809 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.5949, allocations: 23.72 kB / 0.8809 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006646/0.5956, allocations: 360.8 kB / 0.8813 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.5956, allocations: 8.031 kB / 0.8813 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.5956, allocations: 0 / 0.8813 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5956, allocations: 3.984 kB / 0.8813 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.5959, allocations: 309.7 kB / 0.8816 GB, free: 368 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.596, allocations: 4 kB / 0.8816 GB, free: 364 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.5961, allocations: 63.91 kB / 0.8817 GB, free: 300 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5962, allocations: 3.938 kB / 0.8817 GB, free: 296 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.5962, allocations: 11.98 kB / 0.8817 GB, free: 284 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5962, allocations: 0 / 0.8817 GB, free: 284 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5962, allocations: 4 kB / 0.8817 GB, free: 280 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.5966, allocations: 302.2 kB / 0.882 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.5968, allocations: 160.6 kB / 0.8821 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.5969, allocations: 4 kB / 0.8821 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.597, allocations: 27.91 kB / 0.8821 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.5971, allocations: 23.97 kB / 0.8822 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.5971, allocations: 15.98 kB / 0.8822 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001921/0.5973, allocations: 212.5 kB / 0.8824 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5973, allocations: 0 / 0.8824 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003061/0.5977, allocations: 67.94 kB / 0.8825 GB, free: 15.43 MB / 0.5573 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) * 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.0007697/0.5984, allocations: 341.1 kB / 0.8828 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.5988, allocations: 211.7 kB / 0.883 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5988, allocations: 0 / 0.883 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.5989, allocations: 123.8 kB / 0.8831 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.5992, allocations: 34.45 kB / 0.8831 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006846/0.5999, allocations: 402.4 kB / 0.8835 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.6003, allocations: 0.7744 MB / 0.8843 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004327/0.6007, allocations: 151.1 kB / 0.8844 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.6008, allocations: 47.41 kB / 0.8845 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of SimCode: time 3.71e-07/0.6009, allocations: 0 / 0.8845 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of Templates: time 0.006886/0.6077, allocations: 3.153 MB / 0.8875 GB, free: 10.3 MB / 0.5573 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)