Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004848/0.004848, allocations: 102.2 kB / 15.73 MB, free: 6.008 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.001151/0.001151, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 289.9 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9358/0.9358, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 91.86 kB / 0.6814 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3969, allocations: 86.98 MB / 0.7664 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002475/0.3994, allocations: 1.593 MB / 0.7679 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008431/0.4003, allocations: 0.5589 MB / 0.7685 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.4004, allocations: 0 / 0.7685 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.4004, allocations: 3.938 kB / 0.7685 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.4007, allocations: 47.69 kB / 0.7685 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.4008, allocations: 43.94 kB / 0.7686 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.4009, allocations: 103.6 kB / 0.7687 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.401, allocations: 23.44 kB / 0.7687 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.4011, allocations: 47.84 kB / 0.7688 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.4013, allocations: 47.83 kB / 0.7688 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.4013, allocations: 11.94 kB / 0.7688 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.205e-05/0.4013, allocations: 8 kB / 0.7688 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.4014, allocations: 31.89 kB / 0.7688 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.4014, allocations: 43.8 kB / 0.7689 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.4016, allocations: 91.73 kB / 0.769 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.4016, allocations: 0 / 0.769 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4016, allocations: 7.875 kB / 0.769 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.4016, allocations: 0 / 0.769 GB, free: 1.289 MB / 0.5294 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.0006839/0.4023, allocations: 401.9 kB / 0.7694 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.4023, allocations: 8.031 kB / 0.7694 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.4024, allocations: 12.75 kB / 0.7694 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.4025, allocations: 176.3 kB / 0.7696 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.4025, allocations: 8.359 kB / 0.7696 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.4026, allocations: 8.375 kB / 0.7696 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.4027, allocations: 81.97 kB / 0.7696 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4027, allocations: 3.984 kB / 0.7697 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.4028, allocations: 0 / 0.7697 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4028, allocations: 11.94 kB / 0.7697 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.4029, allocations: 47.97 kB / 0.7697 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.4034, allocations: 340.6 kB / 0.77 GB, free: 76 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.4037, allocations: 106.7 kB / 0.7701 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.435e-05/0.4038, allocations: 40.84 kB / 0.7702 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.4038, allocations: 4 kB / 0.7702 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.404, allocations: 103.2 kB / 0.7703 GB, free: 15.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.404, allocations: 0 / 0.7703 GB, free: 15.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0003109/0.4043, allocations: 145.5 kB / 0.7704 GB, free: 15.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.4043, allocations: 55.41 kB / 0.7705 GB, free: 15.58 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.4044, allocations: 126.3 kB / 0.7706 GB, free: 15.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.4045, allocations: 25.7 kB / 0.7706 GB, free: 15.42 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.4045, allocations: 96.38 kB / 0.7707 GB, free: 15.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.4045, allocations: 31.69 kB / 0.7707 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.4046, allocations: 29.7 kB / 0.7708 GB, free: 15.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4047, allocations: 322.8 kB / 0.7711 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.4048, allocations: 24 kB / 0.7711 GB, free: 14.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.783e-05/0.4048, allocations: 35.11 kB / 0.7711 GB, free: 14.87 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.405, allocations: 64.78 kB / 0.7712 GB, free: 14.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.405, allocations: 0 / 0.7712 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001799/0.4052, allocations: 121.5 kB / 0.7713 GB, free: 14.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.4052, allocations: 6.188 kB / 0.7713 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.4052, allocations: 0 / 0.7713 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.4052, allocations: 0 / 0.7713 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.4053, allocations: 23.92 kB / 0.7713 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.4053, allocations: 0 / 0.7713 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.4054, allocations: 23.77 kB / 0.7714 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.4055, allocations: 4 kB / 0.7714 GB, free: 14.62 MB / 0.545 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 9.139e-05/0.4056, allocations: 118.3 kB / 0.7715 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.4056, allocations: 11.89 kB / 0.7715 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.4059, allocations: 147.8 kB / 0.7716 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4059, allocations: 4 kB / 0.7716 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4059, allocations: 7.922 kB / 0.7716 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4059, allocations: 3.938 kB / 0.7716 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.4061, allocations: 209.5 kB / 0.7718 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4061, allocations: 4 kB / 0.7718 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.176e-05/0.4062, allocations: 15.98 kB / 0.7719 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4062, allocations: 0 / 0.7719 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4062, allocations: 8 kB / 0.7719 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4062, allocations: 0 / 0.7719 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4062, allocations: 0 / 0.7719 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.4064, allocations: 164.9 kB / 0.772 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.4065, allocations: 96.88 kB / 0.7721 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.4065, allocations: 0 / 0.7721 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.4066, allocations: 11.98 kB / 0.7721 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.4067, allocations: 15.98 kB / 0.7721 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.4067, allocations: 7.938 kB / 0.7722 GB, free: 13.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.906e-05/0.4068, allocations: 103.2 kB / 0.7723 GB, free: 13.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4068, allocations: 0 / 0.7723 GB, free: 13.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002161/0.407, allocations: 24 kB / 0.7723 GB, free: 13.59 MB / 0.545 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.0001012/0.4071, allocations: 95.25 kB / 0.7724 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.4073, allocations: 93.02 kB / 0.7725 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4073, allocations: 0 / 0.7725 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.4074, allocations: 55.86 kB / 0.7725 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.4076, allocations: 12.75 kB / 0.7725 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.408, allocations: 206.6 kB / 0.7727 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.4083, allocations: 0.6963 MB / 0.7734 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.583e-05/0.4083, allocations: 16.42 kB / 0.7734 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.4084, allocations: 15.42 kB / 0.7734 GB, free: 12.35 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.4084, allocations: 4 kB / 0.7734 GB, free: 12.35 MB / 0.545 GB Notification: Performance of Templates: time 0.003233/0.4116, allocations: 1.092 MB / 0.7745 GB, free: 11.27 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)