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.8084/0.8084, allocations: 143.4 MB / 159.2 MB, free: 4.863 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.001228/0.001228, allocations: 188.5 kB / 191.9 MB, free: 5.707 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.339/1.339, allocations: 222.9 MB / 447.3 MB, free: 5.84 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.001039/0.001039, allocations: 103.8 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002003, allocations: 289.7 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001785, allocations: 83.86 kB / 0.6886 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3141, allocations: 81.3 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002304/0.3165, allocations: 1.466 MB / 0.7694 GB, free: 26.2 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004628/0.317, allocations: 367.2 kB / 0.7697 GB, free: 25.84 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.317, allocations: 0 / 0.7697 GB, free: 25.84 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.3171, allocations: 3.984 kB / 0.7697 GB, free: 25.84 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.42e-05/0.3171, allocations: 4 kB / 0.7697 GB, free: 25.83 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.062e-05/0.3172, allocations: 4 kB / 0.7697 GB, free: 25.83 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.175e-05/0.3172, allocations: 19.92 kB / 0.7698 GB, free: 25.81 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.37e-05/0.3173, allocations: 7.984 kB / 0.7698 GB, free: 25.8 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.3175, allocations: 19.88 kB / 0.7698 GB, free: 25.78 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.471e-05/0.3175, allocations: 7.938 kB / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.3175, allocations: 4 kB / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.3175, allocations: 0 / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.3176, allocations: 3.984 kB / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.3176, allocations: 11.94 kB / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 5.563e-05/0.3176, allocations: 14.64 kB / 0.7698 GB, free: 25.74 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.3176, allocations: 3.938 kB / 0.7698 GB, free: 25.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.3177, allocations: 0 / 0.7698 GB, free: 25.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.3177, allocations: 0 / 0.7698 GB, free: 25.74 MB / 458.7 MB 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.000281/0.3179, allocations: 323.6 kB / 0.7701 GB, free: 25.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.318, allocations: 8.031 kB / 0.7701 GB, free: 25.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.318, allocations: 8.844 kB / 0.7702 GB, free: 25.36 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.726e-05/0.3181, allocations: 164.3 kB / 0.7703 GB, free: 25.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.3181, allocations: 384 / 0.7703 GB, free: 25.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.3181, allocations: 4.375 kB / 0.7703 GB, free: 25.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.265e-05/0.3182, allocations: 45.94 kB / 0.7704 GB, free: 25.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.3182, allocations: 0 / 0.7704 GB, free: 25.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.3182, allocations: 0 / 0.7704 GB, free: 25.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3182, allocations: 0 / 0.7704 GB, free: 25.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.548e-05/0.3183, allocations: 16 kB / 0.7704 GB, free: 25.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.3185, allocations: 240.9 kB / 0.7706 GB, free: 24.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.262e-05/0.3186, allocations: 26.56 kB / 0.7706 GB, free: 24.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.3186, allocations: 20.86 kB / 0.7706 GB, free: 24.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.3186, allocations: 0 / 0.7706 GB, free: 24.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.052e-05/0.3186, allocations: 38.55 kB / 0.7707 GB, free: 24.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.3186, allocations: 0 / 0.7707 GB, free: 24.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001148/0.3187, allocations: 37.7 kB / 0.7707 GB, free: 24.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.702e-05/0.3188, allocations: 51.41 kB / 0.7708 GB, free: 24.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.234e-05/0.3188, allocations: 101.8 kB / 0.7709 GB, free: 24.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.451e-06/0.3188, allocations: 25.7 kB / 0.7709 GB, free: 24.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.087e-05/0.3189, allocations: 84.14 kB / 0.771 GB, free: 24.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.238e-05/0.3189, allocations: 3.906 kB / 0.771 GB, free: 24.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.3189, allocations: 17.84 kB / 0.771 GB, free: 24.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.615e-05/0.3189, allocations: 314.8 kB / 0.7713 GB, free: 24.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.969e-06/0.319, allocations: 7.938 kB / 0.7713 GB, free: 24.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-06/0.319, allocations: 0 / 0.7713 GB, free: 24.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.04e-05/0.319, allocations: 20.78 kB / 0.7713 GB, free: 23.99 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.319, allocations: 0 / 0.7713 GB, free: 23.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.793e-05/0.319, allocations: 45.61 kB / 0.7714 GB, free: 23.94 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.3191, allocations: 9.656 kB / 0.7714 GB, free: 23.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3191, allocations: 0 / 0.7714 GB, free: 23.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3191, allocations: 3.938 kB / 0.7714 GB, free: 23.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.614e-05/0.3191, allocations: 7.938 kB / 0.7714 GB, free: 23.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3192, allocations: 0 / 0.7714 GB, free: 23.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.3192, allocations: 3.938 kB / 0.7714 GB, free: 23.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-06/0.3192, allocations: 0 / 0.7714 GB, free: 23.92 MB / 458.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.3192, allocations: 117.8 kB / 0.7715 GB, free: 23.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.3193, allocations: 0 / 0.7715 GB, free: 23.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.405e-05/0.3193, allocations: 7.125 kB / 0.7715 GB, free: 23.79 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3193, allocations: 0 / 0.7715 GB, free: 23.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3193, allocations: 0 / 0.7715 GB, free: 23.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3193, allocations: 0 / 0.7715 GB, free: 23.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.3194, allocations: 157.6 kB / 0.7717 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3194, allocations: 0 / 0.7717 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.705e-05/0.3194, allocations: 4 kB / 0.7717 GB, free: 23.58 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3194, allocations: 0 / 0.7717 GB, free: 23.58 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-06/0.3194, allocations: 0 / 0.7717 GB, free: 23.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3194, allocations: 0 / 0.7717 GB, free: 23.58 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3195, allocations: 4 kB / 0.7717 GB, free: 23.58 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.3196, allocations: 0.6849 MB / 0.7723 GB, free: 22.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.3196, allocations: 81.11 kB / 0.7724 GB, free: 22.74 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.3197, allocations: 0 / 0.7724 GB, free: 22.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.3197, allocations: 0 / 0.7724 GB, free: 22.74 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.3197, allocations: 3.938 kB / 0.7724 GB, free: 22.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.3197, allocations: 4.031 kB / 0.7724 GB, free: 22.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.071e-05/0.3198, allocations: 87.27 kB / 0.7725 GB, free: 22.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3198, allocations: 0 / 0.7725 GB, free: 22.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003067/0.3201, allocations: 4 kB / 0.7725 GB, free: 22.64 MB / 458.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.416e-05/0.3202, allocations: 103.8 kB / 0.7726 GB, free: 22.53 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.356e-05/0.3202, allocations: 7.938 kB / 0.7726 GB, free: 22.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3202, allocations: 0 / 0.7726 GB, free: 22.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.143e-06/0.3202, allocations: 4 kB / 0.7726 GB, free: 22.52 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.3204, allocations: 12.12 kB / 0.7726 GB, free: 22.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.3207, allocations: 214.6 kB / 0.7728 GB, free: 22.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.915e-05/0.3208, allocations: 0.677 MB / 0.7735 GB, free: 21.55 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.441e-05/0.3208, allocations: 0 / 0.7735 GB, free: 21.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/0.3208, allocations: 7.438 kB / 0.7735 GB, free: 21.54 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3208, allocations: 0 / 0.7735 GB, free: 21.54 MB / 458.7 MB Notification: Performance of Templates: time 0.00162/0.3225, allocations: 250.8 kB / 0.7737 GB, free: 21.33 MB / 458.7 MB 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)