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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7521/0.7521, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009434/0.0009434, allocations: 187.5 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 426.3 MB, free: 8.445 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008323/0.0008324, allocations: 86.28 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001643/0.001643, allocations: 267.2 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004577, allocations: 20 kB / 0.662 GB, free: 6.773 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3582, allocations: 79.3 MB / 0.7395 GB, free: 46.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.4918, allocations: 107.5 MB / 0.8445 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.4922, allocations: 83.94 kB / 0.8445 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001944/0.4941, allocations: 0.7141 MB / 0.8452 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.355e-06/0.4942, allocations: 0 / 0.8452 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.4942, allocations: 0 / 0.8452 GB, free: 1.879 MB / 0.5105 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.0003039/0.4945, allocations: 326.1 kB / 0.8455 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.4945, allocations: 8.031 kB / 0.8456 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.4946, allocations: 8.844 kB / 0.8456 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.4947, allocations: 176.3 kB / 0.8457 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.4947, allocations: 384 / 0.8457 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.4948, allocations: 384 / 0.8457 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.527e-05/0.4948, allocations: 38.2 kB / 0.8458 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4949, allocations: 8.109 kB / 0.8458 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.4949, allocations: 7.938 kB / 0.8458 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4949, allocations: 0 / 0.8458 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.679e-05/0.4949, allocations: 11.98 kB / 0.8458 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.4952, allocations: 233 kB / 0.846 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.497e-05/0.4953, allocations: 34.55 kB / 0.8461 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.082e-05/0.4954, allocations: 8.922 kB / 0.8461 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-06/0.4954, allocations: 3.938 kB / 0.8461 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.4954, allocations: 34.56 kB / 0.8461 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4954, allocations: 4 kB / 0.8461 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001413/0.4955, allocations: 41.7 kB / 0.8461 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.4956, allocations: 55.39 kB / 0.8462 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.4957, allocations: 93.86 kB / 0.8463 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.4957, allocations: 25.7 kB / 0.8463 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.4957, allocations: 84.14 kB / 0.8464 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.4958, allocations: 7.906 kB / 0.8464 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-06/0.4958, allocations: 0 / 0.8464 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.4959, allocations: 314.8 kB / 0.8467 GB, free: 180 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.4959, allocations: 4.125 kB / 0.8467 GB, free: 176 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-06/0.4959, allocations: 11.94 kB / 0.8467 GB, free: 164 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.4959, allocations: 8.859 kB / 0.8467 GB, free: 152 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4959, allocations: 0 / 0.8467 GB, free: 152 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.295e-05/0.496, allocations: 41.64 kB / 0.8468 GB, free: 104 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.496, allocations: 11.94 kB / 0.8468 GB, free: 92 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4961, allocations: 0 / 0.8468 GB, free: 92 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.4961, allocations: 0 / 0.8468 GB, free: 92 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.685e-05/0.4961, allocations: 7.984 kB / 0.8468 GB, free: 84 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.4961, allocations: 4.094 kB / 0.8468 GB, free: 80 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.4962, allocations: 0 / 0.8468 GB, free: 80 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.4962, allocations: 0 / 0.8468 GB, free: 80 kB / 0.5105 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 () * Number of clocked 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 8.761e-05/0.4963, allocations: 117.7 kB / 0.8469 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.4963, allocations: 7.906 kB / 0.8469 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/0.4963, allocations: 3.125 kB / 0.8469 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4963, allocations: 0 / 0.8469 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.4963, allocations: 0 / 0.8469 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4964, allocations: 0 / 0.8469 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.4965, allocations: 165.5 kB / 0.8471 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4965, allocations: 0 / 0.8471 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.4965, allocations: 4 kB / 0.8471 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.4966, allocations: 3.984 kB / 0.8471 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.4966, allocations: 0 / 0.8471 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4966, allocations: 0 / 0.8471 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4966, allocations: 0 / 0.8471 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.4967, allocations: 135.5 kB / 0.8472 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.4967, allocations: 81.14 kB / 0.8473 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.4968, allocations: 3.984 kB / 0.8473 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.354e-05/0.4968, allocations: 0 / 0.8473 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.4968, allocations: 7.938 kB / 0.8473 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.4968, allocations: 4 kB / 0.8473 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.4969, allocations: 83.28 kB / 0.8474 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4969, allocations: 0 / 0.8474 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000215/0.4971, allocations: 0 / 0.8474 GB, free: 15.38 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 () * Number of clocked 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.0001123/0.4972, allocations: 103.6 kB / 0.8475 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.004e-05/0.4973, allocations: 15.98 kB / 0.8475 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.4973, allocations: 0 / 0.8475 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.017e-06/0.4973, allocations: 4 kB / 0.8475 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.4975, allocations: 5.625 kB / 0.8475 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.4978, allocations: 114.5 kB / 0.8476 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.4981, allocations: 0.6811 MB / 0.8483 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.651e-05/0.4981, allocations: 0 / 0.8483 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.4981, allocations: 11.44 kB / 0.8483 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of SimCode: time 2.01e-07/0.4981, allocations: 3.938 kB / 0.8483 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.001865/0.5, allocations: 226.2 kB / 0.8485 GB, free: 14.17 MB / 0.5261 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)