Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8281/0.8281, allocations: 143.4 MB / 158.3 MB, free: 5.805 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.001065/0.001065, allocations: 181.1 kB / 191.5 MB, free: 5.773 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.345/1.345, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.0008431/0.0008429, allocations: 96.31 kB / 0.5188 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001733/0.001733, allocations: 270.8 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004093, allocations: 14.25 kB / 0.6929 GB, free: 59.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1472, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.2921, allocations: 109.2 MB / 0.8804 GB, free: 464 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.2924, allocations: 81.98 kB / 0.8805 GB, free: 384 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3175/0.6099, allocations: 2.739 MB / 0.8832 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.993e-06/0.61, allocations: 0 / 0.8832 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.61, allocations: 0 / 0.8832 GB, free: 109.3 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003726/0.6104, allocations: 343.5 kB / 0.8835 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.6104, allocations: 8.781 kB / 0.8835 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.6105, allocations: 8.219 kB / 0.8835 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.6106, allocations: 172.6 kB / 0.8837 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.6106, allocations: 10.95 kB / 0.8837 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.6106, allocations: 6.875 kB / 0.8837 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.6107, allocations: 66.22 kB / 0.8837 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.6107, allocations: 0 / 0.8837 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.6108, allocations: 9.359 kB / 0.8838 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.6108, allocations: 0 / 0.8838 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.857e-05/0.6108, allocations: 12.98 kB / 0.8838 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.6111, allocations: 264.5 kB / 0.884 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.158e-05/0.6112, allocations: 42.22 kB / 0.8841 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.6113, allocations: 0 / 0.8841 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.6114, allocations: 64.42 kB / 0.8841 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.6114, allocations: 0 / 0.8841 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001917/0.6116, allocations: 74.3 kB / 0.8842 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.6117, allocations: 108.1 kB / 0.8843 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.19e-05/0.6117, allocations: 100.9 kB / 0.8844 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.6118, allocations: 29.64 kB / 0.8844 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.6118, allocations: 84.86 kB / 0.8845 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.6118, allocations: 9.031 kB / 0.8845 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.6118, allocations: 0 / 0.8845 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.282e-05/0.6119, allocations: 313.3 kB / 0.8848 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.702e-05/0.6119, allocations: 15.17 kB / 0.8848 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.101e-05/0.612, allocations: 35.72 kB / 0.8849 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.612, allocations: 20.38 kB / 0.8849 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.612, allocations: 0 / 0.8849 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.822e-05/0.6121, allocations: 62.3 kB / 0.8849 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.6121, allocations: 5.625 kB / 0.8849 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6121, allocations: 0 / 0.8849 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.6121, allocations: 0 / 0.8849 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.605e-05/0.6122, allocations: 8.609 kB / 0.8849 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.6122, allocations: 3.172 kB / 0.8849 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.893e-05/0.6123, allocations: 16.75 kB / 0.885 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.6123, allocations: 3.281 kB / 0.885 GB, free: 107.6 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.471e-05/0.6124, allocations: 116.8 kB / 0.8851 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.6124, allocations: 2.156 kB / 0.8851 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.6125, allocations: 6.125 kB / 0.8851 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6125, allocations: 3.156 kB / 0.8851 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6125, allocations: 3.938 kB / 0.8851 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6125, allocations: 0 / 0.8851 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.138e-05/0.6126, allocations: 169.9 kB / 0.8853 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.6126, allocations: 3.953 kB / 0.8853 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.6126, allocations: 4.922 kB / 0.8853 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.6126, allocations: 3.938 kB / 0.8853 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.6126, allocations: 0.875 kB / 0.8853 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.6126, allocations: 0 / 0.8853 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6126, allocations: 3.984 kB / 0.8853 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.6127, allocations: 89.84 kB / 0.8854 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.6128, allocations: 96.92 kB / 0.8855 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.6128, allocations: 5.484 kB / 0.8855 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.556e-05/0.6129, allocations: 11.03 kB / 0.8855 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.613, allocations: 6.75 kB / 0.8855 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.613, allocations: 0 / 0.8855 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.785e-05/0.613, allocations: 88.47 kB / 0.8856 GB, free: 107 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.613, allocations: 0 / 0.8856 GB, free: 107 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000193/0.6132, allocations: 12.38 kB / 0.8856 GB, free: 107 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 (4): * Single equations (assignments): 3 * 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.0001128/0.6133, allocations: 111.3 kB / 0.8857 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.6135, allocations: 28.52 kB / 0.8857 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6135, allocations: 2.25 kB / 0.8857 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.711e-05/0.6135, allocations: 19.56 kB / 0.8857 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.6136, allocations: 4.094 kB / 0.8857 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.6139, allocations: 125.2 kB / 0.8858 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.608e-05/0.614, allocations: 0.6839 MB / 0.8865 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.856e-05/0.614, allocations: 2.719 kB / 0.8865 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.6141, allocations: 20 kB / 0.8865 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of SimCode: time 3.91e-07/0.6141, allocations: 0 / 0.8865 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.002734/0.6168, allocations: 0.7774 MB / 0.8873 GB, free: 106 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)