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.8637/0.8637, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001966/0.001966, allocations: 180.7 kB / 182.2 MB, free: 9.441 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.356/1.356, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0008274/0.0008274, allocations: 92.05 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001691/0.001691, allocations: 284 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.146e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4197, allocations: 82.77 MB / 0.7574 GB, free: 32.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.5583, allocations: 108.5 MB / 0.8633 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.5585, allocations: 79.83 kB / 0.8634 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007317/0.5659, allocations: 2.717 MB / 0.8661 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5659, allocations: 0 / 0.8661 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.5659, allocations: 0 / 0.8661 GB, free: 0.5938 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000369/0.5663, allocations: 338.5 kB / 0.8664 GB, free: 224 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.5663, allocations: 8.031 kB / 0.8664 GB, free: 216 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.5664, allocations: 0 / 0.8664 GB, free: 216 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.5666, allocations: 171 kB / 0.8666 GB, free: 4 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.5666, allocations: 3.953 kB / 0.8666 GB, free: 0 / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.5666, allocations: 8.047 kB / 0.8666 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.738e-05/0.5667, allocations: 15.94 kB / 0.8666 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.5668, allocations: 68.25 kB / 0.8667 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5669, allocations: 4 kB / 0.8667 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.5669, allocations: 0 / 0.8667 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5669, allocations: 0 / 0.8667 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.5673, allocations: 237.4 kB / 0.8669 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.5674, allocations: 42.5 kB / 0.8669 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.5674, allocations: 24.84 kB / 0.867 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.5674, allocations: 0 / 0.867 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.5676, allocations: 63.48 kB / 0.867 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.5676, allocations: 0 / 0.867 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001837/0.5678, allocations: 49.69 kB / 0.8671 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.5679, allocations: 114.8 kB / 0.8672 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.568, allocations: 101 kB / 0.8673 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.568, allocations: 25.7 kB / 0.8673 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.568, allocations: 84.14 kB / 0.8674 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.5681, allocations: 11.75 kB / 0.8674 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.5681, allocations: 0 / 0.8674 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5682, allocations: 318.8 kB / 0.8677 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.5683, allocations: 11.98 kB / 0.8677 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.5683, allocations: 26.58 kB / 0.8677 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.898e-05/0.5683, allocations: 12.03 kB / 0.8677 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5683, allocations: 0 / 0.8677 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.916e-05/0.5685, allocations: 61.64 kB / 0.8678 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.5685, allocations: 4 kB / 0.8678 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5685, allocations: 0 / 0.8678 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5685, allocations: 0 / 0.8678 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/0.5686, allocations: 15.92 kB / 0.8678 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.5686, allocations: 0 / 0.8678 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.855e-05/0.5687, allocations: 8 kB / 0.8678 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.5687, allocations: 7.984 kB / 0.8678 GB, free: 14.56 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 (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 9.067e-05/0.5688, allocations: 101 kB / 0.8679 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.5688, allocations: 11.86 kB / 0.8679 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.5689, allocations: 4.125 kB / 0.8679 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.5689, allocations: 0 / 0.8679 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5689, allocations: 4 kB / 0.8679 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.5689, allocations: 0 / 0.8679 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.569, allocations: 146.2 kB / 0.8681 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.569, allocations: 0 / 0.8681 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.5691, allocations: 12.42 kB / 0.8681 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.5691, allocations: 3.938 kB / 0.8681 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.5691, allocations: 7.891 kB / 0.8681 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5691, allocations: 4 kB / 0.8681 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5691, allocations: 4 kB / 0.8681 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.5692, allocations: 85.05 kB / 0.8682 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.34e-05/0.5693, allocations: 85.02 kB / 0.8683 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.5693, allocations: 7.984 kB / 0.8683 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/0.5694, allocations: 11.95 kB / 0.8683 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.5695, allocations: 7.984 kB / 0.8683 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.5695, allocations: 0 / 0.8683 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.723e-05/0.5696, allocations: 87.28 kB / 0.8684 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5696, allocations: 0 / 0.8684 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002002/0.5698, allocations: 8 kB / 0.8684 GB, free: 13.89 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) * 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.0001487/0.5699, allocations: 103.2 kB / 0.8685 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.57, allocations: 28 kB / 0.8685 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.57, allocations: 0 / 0.8685 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.5701, allocations: 19.94 kB / 0.8685 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.5702, allocations: 3.406 kB / 0.8685 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002224/0.5704, allocations: 69.03 kB / 0.8686 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.5707, allocations: 0.6846 MB / 0.8693 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.5708, allocations: 12.17 kB / 0.8693 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.5708, allocations: 15.44 kB / 0.8693 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.5708, allocations: 0 / 0.8693 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of Templates: time 0.002821/0.5736, allocations: 0.7379 MB / 0.87 GB, free: 12.19 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)