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.001216/0.001216, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001292/0.001292, allocations: 198.2 kB / 16.25 MB, free: 6.621 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.512/1.512, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 62.45 kB / 0.9115 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3289, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002978/0.3319, allocations: 1.667 MB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000908/0.3328, allocations: 0.5259 MB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.3329, allocations: 0 / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.101e-05/0.3329, allocations: 11.92 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.3332, allocations: 39.83 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.3334, allocations: 35.89 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.3335, allocations: 107.6 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3336, allocations: 19.97 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.3338, allocations: 51.8 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.3339, allocations: 51.81 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.3339, allocations: 8 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.133e-05/0.3339, allocations: 8 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/0.334, allocations: 23.91 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.812e-05/0.3341, allocations: 39.8 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.3342, allocations: 95.95 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3342, allocations: 0 / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3342, allocations: 0 / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3342, allocations: 4 kB / 1.07 GB, free: 8.098 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.0007684/0.335, allocations: 399.2 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3351, allocations: 8.031 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.3351, allocations: 16.78 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.3353, allocations: 184.2 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3353, allocations: 4.375 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.3353, allocations: 12.36 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.3355, allocations: 85.97 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3355, allocations: 0 / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3356, allocations: 3.984 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3356, allocations: 0 / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.3357, allocations: 59.84 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/0.3362, allocations: 336.7 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.3365, allocations: 106.7 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.801e-05/0.3366, allocations: 40.84 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.3366, allocations: 0 / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.3369, allocations: 103.2 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.3369, allocations: 4 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0003298/0.3372, allocations: 145.6 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.3373, allocations: 55.34 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.3374, allocations: 130.1 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.3374, allocations: 29.7 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.3374, allocations: 96.36 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.3375, allocations: 39.53 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.3375, allocations: 25.7 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3377, allocations: 330.8 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/0.3377, allocations: 24 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-05/0.3378, allocations: 31.36 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.3379, allocations: 64.78 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3379, allocations: 0 / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001791/0.3381, allocations: 113.6 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3381, allocations: 4 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3381, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.3381, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.3383, allocations: 19.98 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3383, allocations: 4 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.3384, allocations: 19.83 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.3384, allocations: 4 kB / 1.073 GB, free: 5.422 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 8.843e-05/0.3385, allocations: 121.8 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.3385, allocations: 7.984 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.3388, allocations: 149.9 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3388, allocations: 8 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3388, allocations: 0 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3388, allocations: 7.922 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.339, allocations: 213.5 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.339, allocations: 0 / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.533e-05/0.3391, allocations: 19.92 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3391, allocations: 4 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3391, allocations: 4 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3391, allocations: 0 / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3392, allocations: 0 / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.3394, allocations: 168.6 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.3395, allocations: 92.94 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3395, allocations: 0 / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.3396, allocations: 11.98 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.3397, allocations: 15.92 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.3397, allocations: 7.938 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.3397, allocations: 95.27 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3398, allocations: 0 / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002091/0.34, allocations: 28 kB / 1.074 GB, free: 4.387 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.0001357/0.3401, allocations: 99.25 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.3403, allocations: 103.8 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3403, allocations: 0 / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.136e-05/0.3404, allocations: 47.92 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.3406, allocations: 8.562 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.341, allocations: 242.5 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.3413, allocations: 0.6963 MB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.353e-05/0.3413, allocations: 16.55 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.3414, allocations: 15.44 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3414, allocations: 0 / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of Templates: time 0.003234/0.3446, allocations: 1.058 MB / 1.076 GB, free: 2.059 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)