Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.6/1.6, allocations: 297.8 MB / 313.8 MB, free: 84 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000936/0.000936, allocations: 176.5 kB / 384.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.2 MB / 0.6626 GB, free: 4.25 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008387/0.0008389, allocations: 87.62 kB / 0.7808 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003791, allocations: 19.92 kB / 0.9088 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5983/0.5987, allocations: 120.3 MB / 1.026 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.7597, allocations: 141.9 MB / 1.165 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.7599, allocations: 83.09 kB / 1.165 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006767/0.7667, allocations: 2.758 MB / 1.168 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7667, allocations: 0 / 1.168 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.7667, allocations: 0 / 1.168 GB, free: 15.62 MB / 0.7448 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.0003902/0.7671, allocations: 340.9 kB / 1.168 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.7672, allocations: 8.75 kB / 1.168 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.7672, allocations: 8.844 kB / 1.168 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.7673, allocations: 169.5 kB / 1.168 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.7674, allocations: 4.984 kB / 1.168 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.7674, allocations: 4.938 kB / 1.168 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.7675, allocations: 71.77 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.7675, allocations: 192 / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.7676, allocations: 4.641 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.7676, allocations: 0 / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.727e-05/0.7676, allocations: 18.33 kB / 1.168 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.768, allocations: 260.7 kB / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.56e-05/0.7681, allocations: 46.44 kB / 1.169 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.7681, allocations: 20.14 kB / 1.169 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-06/0.7681, allocations: 0 / 1.169 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.7683, allocations: 65.25 kB / 1.169 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.7683, allocations: 0 / 1.169 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001903/0.7685, allocations: 76.44 kB / 1.169 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.7686, allocations: 108 kB / 1.169 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.7686, allocations: 105.1 kB / 1.169 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.7687, allocations: 30.36 kB / 1.169 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.7687, allocations: 81.62 kB / 1.169 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.7687, allocations: 13.81 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.7687, allocations: 1.594 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.7689, allocations: 316.2 kB / 1.169 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/0.7689, allocations: 9.359 kB / 1.169 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-05/0.7689, allocations: 35.5 kB / 1.169 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.769, allocations: 26.72 kB / 1.169 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.769, allocations: 4.469 kB / 1.169 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.556e-05/0.7691, allocations: 66 kB / 1.169 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.7691, allocations: 5.906 kB / 1.169 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7691, allocations: 0 / 1.169 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.7692, allocations: 2.312 kB / 1.169 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.7692, allocations: 9.359 kB / 1.169 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.7692, allocations: 1.094 kB / 1.169 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-05/0.7693, allocations: 11.95 kB / 1.169 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.7694, allocations: 3.047 kB / 1.169 GB, free: 13.59 MB / 0.7448 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 8.144e-05/0.7694, allocations: 120.4 kB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.7695, allocations: 4.562 kB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.7695, allocations: 9.344 kB / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.7695, allocations: 0 / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7695, allocations: 0.6562 kB / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7695, allocations: 1.812 kB / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.7696, allocations: 167.8 kB / 1.17 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7696, allocations: 0 / 1.17 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.7697, allocations: 13.33 kB / 1.17 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7697, allocations: 0.8438 kB / 1.17 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.7697, allocations: 7.203 kB / 1.17 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7697, allocations: 0 / 1.17 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7697, allocations: 0.7031 kB / 1.17 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.7698, allocations: 93.23 kB / 1.17 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.7699, allocations: 85.3 kB / 1.17 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.7699, allocations: 4.703 kB / 1.17 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-05/0.77, allocations: 12.34 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.7701, allocations: 2.25 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.7701, allocations: 5.828 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.7701, allocations: 87.39 kB / 1.17 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7701, allocations: 0 / 1.17 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001874/0.7703, allocations: 12.75 kB / 1.17 GB, free: 12.93 MB / 0.7448 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.0001278/0.7705, allocations: 115.8 kB / 1.17 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.7706, allocations: 28.12 kB / 1.17 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7706, allocations: 0 / 1.17 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.7706, allocations: 13.31 kB / 1.17 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.7708, allocations: 8.594 kB / 1.17 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.7711, allocations: 122.8 kB / 1.17 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.7713, allocations: 0.6862 MB / 1.171 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.784e-05/0.7714, allocations: 6.203 kB / 1.171 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.7714, allocations: 12.06 kB / 1.171 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.7714, allocations: 3.938 kB / 1.171 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of Templates: time 0.003061/0.7745, allocations: 0.8044 MB / 1.172 GB, free: 11.48 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)