Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001485/0.001485, allocations: 109.5 kB / 16.41 MB, free: 6.496 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.001683/0.001683, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7985/0.7985, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.64 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1711, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003847/0.175, allocations: 1.862 MB / 0.6622 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002751/0.1778, allocations: 1.572 MB / 0.6637 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1779, allocations: 0 / 0.6637 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.1782, allocations: 39.77 kB / 0.6637 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.1787, allocations: 71.56 kB / 0.6638 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.1792, allocations: 170.9 kB / 0.664 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004076/0.1796, allocations: 277.4 kB / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1798, allocations: 33.05 kB / 0.6643 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.1799, allocations: 87.83 kB / 0.6644 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.1802, allocations: 111.7 kB / 0.6645 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.1803, allocations: 20 kB / 0.6645 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.1805, allocations: 79.98 kB / 0.6646 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.1807, allocations: 91.67 kB / 0.6646 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.1808, allocations: 119.3 kB / 0.6648 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.1813, allocations: 319 kB / 0.6651 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1813, allocations: 0 / 0.6651 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1813, allocations: 0 / 0.6651 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.1813, allocations: 4 kB / 0.6651 GB, free: 5.426 MB / 0.4981 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.0008623/0.1822, allocations: 0.55 MB / 0.6656 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1822, allocations: 15.97 kB / 0.6656 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.1824, allocations: 32.56 kB / 0.6656 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.1828, allocations: 274.7 kB / 0.6659 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.1828, allocations: 12.16 kB / 0.6659 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.1828, allocations: 20.12 kB / 0.6659 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.1833, allocations: 232.9 kB / 0.6662 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1833, allocations: 0 / 0.6662 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.1834, allocations: 15.98 kB / 0.6662 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1834, allocations: 4 kB / 0.6662 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009026/0.1843, allocations: 0.7488 MB / 0.6669 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.1854, allocations: 0.6215 MB / 0.6675 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.1859, allocations: 306 kB / 0.6678 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.186, allocations: 113.3 kB / 0.6679 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.1861, allocations: 20.25 kB / 0.6679 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003814/0.1865, allocations: 184 kB / 0.6681 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.923e-06/0.1865, allocations: 4 kB / 0.6681 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0006745/0.1872, allocations: 385.2 kB / 0.6685 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.1873, allocations: 136.5 kB / 0.6686 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.1876, allocations: 309 kB / 0.6689 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.1876, allocations: 33.7 kB / 0.6689 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.1877, allocations: 132.6 kB / 0.6691 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.1878, allocations: 118.3 kB / 0.6692 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.682e-05/0.1879, allocations: 65.69 kB / 0.6692 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.188, allocations: 342.8 kB / 0.6696 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.1882, allocations: 83.95 kB / 0.6696 GB, free: 480 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.1883, allocations: 123.4 kB / 0.6698 GB, free: 344 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/0.1887, allocations: 214.3 kB / 0.67 GB, free: 128 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1887, allocations: 0 / 0.67 GB, free: 128 kB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004528/0.1892, allocations: 289 kB / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1892, allocations: 5.719 kB / 0.6703 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1892, allocations: 4 kB / 0.6703 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1893, allocations: 3.938 kB / 0.6703 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.1895, allocations: 67.89 kB / 0.6703 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.1895, allocations: 0 / 0.6703 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.1897, allocations: 27.83 kB / 0.6704 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.1897, allocations: 11.94 kB / 0.6704 GB, free: 15.72 MB / 0.5137 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.1899, allocations: 164 kB / 0.6705 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.1899, allocations: 31.62 kB / 0.6705 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006917/0.1906, allocations: 380.9 kB / 0.6709 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1906, allocations: 7.938 kB / 0.6709 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1907, allocations: 4 kB / 0.6709 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1907, allocations: 3.984 kB / 0.6709 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.191, allocations: 337.3 kB / 0.6712 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1911, allocations: 0 / 0.6712 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.1912, allocations: 55.91 kB / 0.6713 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1912, allocations: 4 kB / 0.6713 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.1913, allocations: 15.98 kB / 0.6713 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1913, allocations: 3.938 kB / 0.6713 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1913, allocations: 0 / 0.6713 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004688/0.1918, allocations: 341.4 kB / 0.6717 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.1919, allocations: 136.7 kB / 0.6718 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.192, allocations: 12 kB / 0.6718 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.1921, allocations: 27.91 kB / 0.6718 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.1922, allocations: 23.97 kB / 0.6718 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.1922, allocations: 15.98 kB / 0.6719 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001982/0.1925, allocations: 232.5 kB / 0.6721 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1925, allocations: 0 / 0.6721 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002948/0.1928, allocations: 75.92 kB / 0.6722 GB, free: 13.78 MB / 0.5137 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 (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.0009266/0.1937, allocations: 406.5 kB / 0.6725 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004179/0.1941, allocations: 236.1 kB / 0.6728 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1941, allocations: 0 / 0.6728 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.1943, allocations: 131.8 kB / 0.6729 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.1947, allocations: 38.06 kB / 0.6729 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00087/0.1955, allocations: 0.5543 MB / 0.6735 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.196, allocations: 0.758 MB / 0.6742 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.1961, allocations: 59.41 kB / 0.6743 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.1962, allocations: 0 / 0.6743 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of Templates: time 0.007833/0.204, allocations: 4.486 MB / 0.6786 GB, free: 7.297 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)