Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.359/2.359, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 187.5 kB / 499.1 MB, free: 4.656 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 222.9 MB / 0.7948 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 113.1 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 55.55 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3118, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00237/0.3142, allocations: 1.461 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000571/0.3148, allocations: 368.1 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.3149, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.3149, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/0.315, allocations: 7.922 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 2.515e-05/0.3151, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.661e-05/0.3151, allocations: 19.88 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3152, allocations: 12 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.3154, allocations: 11.97 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.3155, allocations: 7.938 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.3155, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-06/0.3155, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.3155, allocations: 8 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.3155, allocations: 3.984 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 6.312e-05/0.3156, allocations: 15.92 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3156, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.72e-07/0.3156, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.3156, allocations: 4 kB / 1.22 GB, free: 115.3 MB / 0.823 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.0003527/0.316, allocations: 329.6 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.316, allocations: 15.98 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.3161, allocations: 4.875 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.3162, allocations: 168.3 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.3162, allocations: 384 / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.3162, allocations: 384 / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.24e-05/0.3163, allocations: 45.98 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.3163, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-06/0.3163, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3163, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.682e-05/0.3164, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002559/0.3166, allocations: 248.9 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.268e-05/0.3167, allocations: 22.58 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/0.3167, allocations: 12.92 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.3167, allocations: 4 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.3167, allocations: 34.5 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3167, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001308/0.3169, allocations: 57.47 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.3169, allocations: 51.41 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.935e-05/0.317, allocations: 97.86 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.317, allocations: 25.7 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.317, allocations: 88.25 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.317, allocations: 15.89 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.3171, allocations: 9.719 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.3171, allocations: 314.8 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.3171, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-06/0.3171, allocations: 8 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.133e-05/0.3172, allocations: 12.8 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3172, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.756e-05/0.3172, allocations: 49.69 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.3173, allocations: 4 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3173, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3173, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.976e-05/0.3173, allocations: 4 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3173, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.56e-05/0.3174, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.3174, allocations: 4 kB / 1.222 GB, free: 113.4 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.3174, allocations: 114.4 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.3175, allocations: 4.031 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.3175, allocations: 7.109 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3175, allocations: 4 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3175, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3175, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.3176, allocations: 157.6 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3176, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.491e-05/0.3176, allocations: 4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3176, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.3176, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3176, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3177, allocations: 4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.3178, allocations: 0.6771 MB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.3179, allocations: 88.94 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.3179, allocations: 3.938 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.573e-05/0.3179, allocations: 4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.318, allocations: 11.97 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.318, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.549e-05/0.318, allocations: 83.47 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.318, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003391/0.3184, allocations: 4 kB / 1.223 GB, free: 112.1 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.712e-05/0.3185, allocations: 103.3 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.318e-05/0.3185, allocations: 12 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3185, allocations: 64 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.905e-06/0.3186, allocations: 8 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.3188, allocations: 1.125 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.3191, allocations: 214.5 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.3192, allocations: 0.677 MB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.565e-05/0.3192, allocations: 3.984 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.3192, allocations: 7.438 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.3192, allocations: 4.062 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of Templates: time 0.001849/0.3211, allocations: 229.3 kB / 1.224 GB, free: 110.8 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)