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.7727/0.7727, allocations: 141.8 MB / 149.3 MB, free: 9.25 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.0009966/0.0009966, allocations: 179.8 kB / 182.2 MB, free: 9.48 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.399/1.399, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.001007/0.001007, allocations: 100.1 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001782/0.001782, allocations: 278.3 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.223e-05/2.225e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4268, allocations: 82.77 MB / 0.7574 GB, free: 32.07 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.5798, allocations: 108.2 MB / 0.8631 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.5802, allocations: 87.81 kB / 0.8631 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002022/0.5823, allocations: 0.7454 MB / 0.8639 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5823, allocations: 0 / 0.8639 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.5823, allocations: 4 kB / 0.8639 GB, free: 2.863 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002655/0.5826, allocations: 314.6 kB / 0.8642 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.5826, allocations: 11.97 kB / 0.8642 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.5827, allocations: 3.938 kB / 0.8642 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.5829, allocations: 171 kB / 0.8644 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.5829, allocations: 3.953 kB / 0.8644 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.5829, allocations: 0 / 0.8644 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.316e-05/0.583, allocations: 8 kB / 0.8644 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.139e-05/0.583, allocations: 29.7 kB / 0.8644 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.583, allocations: 0 / 0.8644 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.5831, allocations: 0 / 0.8644 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5831, allocations: 4 kB / 0.8644 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.5834, allocations: 225.4 kB / 0.8646 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.979e-05/0.5835, allocations: 26.52 kB / 0.8646 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.5835, allocations: 16.92 kB / 0.8647 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.5835, allocations: 3.938 kB / 0.8647 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.5836, allocations: 38.56 kB / 0.8647 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.5836, allocations: 0 / 0.8647 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001407/0.5837, allocations: 33.7 kB / 0.8647 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.5837, allocations: 51.41 kB / 0.8648 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.5838, allocations: 96.98 kB / 0.8649 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.5839, allocations: 25.7 kB / 0.8649 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.5839, allocations: 80.14 kB / 0.865 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.5839, allocations: 7.844 kB / 0.865 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.5839, allocations: 4.031 kB / 0.865 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5841, allocations: 318.8 kB / 0.8653 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.5841, allocations: 0 / 0.8653 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-06/0.5841, allocations: 4 kB / 0.8653 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.452e-05/0.5841, allocations: 0 / 0.8653 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5841, allocations: 0 / 0.8653 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.968e-05/0.5842, allocations: 45.64 kB / 0.8653 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.5842, allocations: 4 kB / 0.8653 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.5842, allocations: 4.281 kB / 0.8653 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.5843, allocations: 4 kB / 0.8653 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.5843, allocations: 0 / 0.8653 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.5843, allocations: 0 / 0.8653 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.004e-05/0.5844, allocations: 7.984 kB / 0.8654 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.5844, allocations: 0 / 0.8654 GB, free: 1.152 MB / 0.5261 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.855e-05/0.5844, allocations: 101.8 kB / 0.8655 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.5845, allocations: 3.953 kB / 0.8655 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.5845, allocations: 11.73 kB / 0.8655 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.5845, allocations: 3.938 kB / 0.8655 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5845, allocations: 4 kB / 0.8655 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5845, allocations: 0 / 0.8655 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.5847, allocations: 134.2 kB / 0.8656 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5847, allocations: 3.938 kB / 0.8656 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.564e-05/0.5847, allocations: 0 / 0.8656 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5847, allocations: 4 kB / 0.8656 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.5847, allocations: 3.953 kB / 0.8656 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5847, allocations: 0 / 0.8656 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5848, allocations: 0 / 0.8656 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.5849, allocations: 139.5 kB / 0.8657 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.5849, allocations: 81.02 kB / 0.8658 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.5849, allocations: 0 / 0.8658 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.83e-05/0.585, allocations: 7.953 kB / 0.8658 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.585, allocations: 0 / 0.8658 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.585, allocations: 0 / 0.8658 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.091e-05/0.5851, allocations: 79.28 kB / 0.8659 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5851, allocations: 0 / 0.8659 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002381/0.5853, allocations: 8.031 kB / 0.8659 GB, free: 0.5 MB / 0.5261 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.0001157/0.5854, allocations: 100.4 kB / 0.866 GB, free: 404 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.804e-05/0.5855, allocations: 15.98 kB / 0.866 GB, free: 388 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5855, allocations: 0 / 0.866 GB, free: 388 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.358e-06/0.5855, allocations: 4 kB / 0.866 GB, free: 384 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.5857, allocations: 0 / 0.866 GB, free: 384 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002033/0.5859, allocations: 55.95 kB / 0.8661 GB, free: 304 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.5861, allocations: 0.6808 MB / 0.8667 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.719e-05/0.5862, allocations: 0 / 0.8667 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/0.5862, allocations: 7.438 kB / 0.8668 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.5862, allocations: 4 kB / 0.8668 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of Templates: time 0.001934/0.5881, allocations: 217.3 kB / 0.867 GB, free: 15.39 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)