Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.conf.json 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/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001265, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 195.4 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.986/2.986, allocations: 472.6 MB / 0.7447 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 66.78 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3895, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003237/0.3928, allocations: 1.671 MB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009259/0.3938, allocations: 0.5258 MB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-05/0.3938, allocations: 0 / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.245e-05/0.3939, allocations: 11.98 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.3942, allocations: 35.78 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.3943, allocations: 35.95 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3944, allocations: 107.6 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3946, allocations: 23.97 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.3947, allocations: 39.86 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3948, allocations: 51.75 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.3948, allocations: 4 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.173e-05/0.3949, allocations: 4 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.385e-05/0.3949, allocations: 23.91 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.395, allocations: 35.8 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.3951, allocations: 91.95 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3951, allocations: 0 / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.51e-07/0.3951, allocations: 0 / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3952, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007412/0.3959, allocations: 395.2 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.396, allocations: 12.03 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.396, allocations: 8.844 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.3962, allocations: 188.2 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.3962, allocations: 12.36 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.3963, allocations: 8.375 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.3965, allocations: 85.95 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3965, allocations: 7.984 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.3965, allocations: 0 / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3965, allocations: 0 / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.3967, allocations: 53.59 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006307/0.3973, allocations: 340.6 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.3976, allocations: 106.7 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.756e-05/0.3977, allocations: 44.78 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.3978, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002998/0.3981, allocations: 103.2 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.3981, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0003889/0.3985, allocations: 145.6 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.3986, allocations: 63.28 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.3987, allocations: 121.8 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3987, allocations: 25.7 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.3988, allocations: 104.3 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.3989, allocations: 35.53 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.3989, allocations: 37.7 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3991, allocations: 326.8 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3992, allocations: 20 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.928e-05/0.3993, allocations: 27.98 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.3994, allocations: 64.84 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3994, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000206/0.3996, allocations: 116.9 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.3997, allocations: 8 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3997, allocations: 0 / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3997, allocations: 4 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3998, allocations: 19.98 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3998, allocations: 0 / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.4, allocations: 19.83 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.4, allocations: 4 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001046/0.4001, allocations: 113.8 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.4001, allocations: 7.984 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.4004, allocations: 157.9 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4004, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4004, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4004, allocations: 7.938 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.4007, allocations: 209.5 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4007, allocations: 0 / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.094e-05/0.4007, allocations: 19.98 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4008, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.4008, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4008, allocations: 4 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4008, allocations: 7.938 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.4011, allocations: 164.9 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.4011, allocations: 89 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.4011, allocations: 0 / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.4013, allocations: 15.92 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.4013, allocations: 7.984 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.4014, allocations: 7.938 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.658e-05/0.4014, allocations: 99.27 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4014, allocations: 4 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002084/0.4016, allocations: 24 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.0001398/0.4018, allocations: 103.2 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.402, allocations: 95.39 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.402, allocations: 0 / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.4021, allocations: 51.92 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.4023, allocations: 6.484 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.4028, allocations: 240.3 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.4032, allocations: 0.7043 MB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.397e-05/0.4032, allocations: 12.55 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.4033, allocations: 19.42 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.4033, allocations: 3.938 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of Templates: time 0.00348/0.4068, allocations: 0.9943 MB / 1.076 GB, free: 2.254 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)