Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.751/0.751, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009764/0.0009764, allocations: 189.4 kB / 187.3 MB, free: 11.87 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.3 MB / 441.4 MB, free: 4.609 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.0009177/0.0009176, allocations: 97.5 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002243/0.002243, allocations: 272.1 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.441e-05, allocations: 7.938 kB / 0.6835 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4735, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.5977, allocations: 108.9 MB / 0.8706 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.598, allocations: 83.83 kB / 0.8707 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002042/0.6001, allocations: 0.7575 MB / 0.8714 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6001, allocations: 0.8438 kB / 0.8714 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.6001, allocations: 4 kB / 0.8714 GB, free: 14.82 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002461/0.6004, allocations: 315.7 kB / 0.8717 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.6004, allocations: 12.03 kB / 0.8718 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.6005, allocations: 0 / 0.8718 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.6006, allocations: 167 kB / 0.8719 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.6006, allocations: 3.953 kB / 0.8719 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.6007, allocations: 3.984 kB / 0.8719 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.631e-05/0.6007, allocations: 37.64 kB / 0.872 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.6008, allocations: 0 / 0.872 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.6008, allocations: 4 kB / 0.872 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.6008, allocations: 0 / 0.872 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.463e-05/0.6008, allocations: 8 kB / 0.872 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.6011, allocations: 240.9 kB / 0.8722 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.944e-05/0.6012, allocations: 30.52 kB / 0.8722 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.6012, allocations: 8.922 kB / 0.8722 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.6013, allocations: 4 kB / 0.8722 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.6013, allocations: 38.56 kB / 0.8723 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.6013, allocations: 0 / 0.8723 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001318/0.6014, allocations: 33.61 kB / 0.8723 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.6015, allocations: 55.41 kB / 0.8724 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.631e-05/0.6016, allocations: 96.98 kB / 0.8725 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.6016, allocations: 29.64 kB / 0.8725 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.6016, allocations: 84.17 kB / 0.8726 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.6017, allocations: 3.906 kB / 0.8726 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.6017, allocations: 4 kB / 0.8726 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.6018, allocations: 314.8 kB / 0.8729 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.6018, allocations: 3.938 kB / 0.8729 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.626e-06/0.6018, allocations: 4 kB / 0.8729 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.849e-05/0.6018, allocations: 7.938 kB / 0.8729 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6018, allocations: 0 / 0.8729 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.312e-05/0.6019, allocations: 45.77 kB / 0.8729 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6019, allocations: 4 kB / 0.8729 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6019, allocations: 0 / 0.8729 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.602, allocations: 0 / 0.8729 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.655e-05/0.602, allocations: 7.938 kB / 0.8729 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.602, allocations: 0 / 0.8729 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.6021, allocations: 0 / 0.8729 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.6021, allocations: 0 / 0.8729 GB, free: 13.08 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.77e-05/0.6022, allocations: 104.9 kB / 0.873 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.6022, allocations: 7.984 kB / 0.8731 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.6022, allocations: 11.16 kB / 0.8731 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.6022, allocations: 3.938 kB / 0.8731 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.6022, allocations: 0 / 0.8731 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6022, allocations: 192 / 0.8731 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.6024, allocations: 153.7 kB / 0.8732 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.6024, allocations: 7.938 kB / 0.8732 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/0.6024, allocations: 4 kB / 0.8732 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6024, allocations: 0 / 0.8732 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.6024, allocations: 0 / 0.8732 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6024, allocations: 0 / 0.8732 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6024, allocations: 4 kB / 0.8732 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.6026, allocations: 139.5 kB / 0.8734 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.6026, allocations: 84.97 kB / 0.8734 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.6026, allocations: 0 / 0.8734 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.298e-05/0.6027, allocations: 0 / 0.8734 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.6027, allocations: 4 kB / 0.8734 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.6027, allocations: 0 / 0.8734 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.6028, allocations: 87.31 kB / 0.8735 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6028, allocations: 3.938 kB / 0.8735 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002103/0.603, allocations: 7.984 kB / 0.8735 GB, free: 12.38 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001059/0.6031, allocations: 95.25 kB / 0.8736 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.062e-05/0.6032, allocations: 8 kB / 0.8736 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6032, allocations: 0 / 0.8736 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/0.6032, allocations: 11.94 kB / 0.8736 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.6033, allocations: 1.016 kB / 0.8737 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001847/0.6035, allocations: 70.64 kB / 0.8737 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.6038, allocations: 0.677 MB / 0.8744 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.6038, allocations: 4 kB / 0.8744 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.6038, allocations: 11.38 kB / 0.8744 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of SimCode: time 3.2e-07/0.6038, allocations: 0 / 0.8744 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of Templates: time 0.001841/0.6057, allocations: 226.8 kB / 0.8746 GB, free: 11.27 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)