Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, 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.001278/0.001278, allocations: 201.2 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.513/1.513, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 61.31 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2998, allocations: 159.9 MB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006652/0.3065, allocations: 4.987 MB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.163/0.4696, allocations: 148.5 MB / 1.217 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.4706, allocations: 15.94 kB / 1.217 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008315/0.4715, allocations: 146.8 kB / 1.218 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.4737, allocations: 0.4969 MB / 1.218 GB, free: 252 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.4759, allocations: 0.7231 MB / 1.219 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00219/0.4781, allocations: 1.35 MB / 1.22 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.4795, allocations: 0.579 MB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.4805, allocations: 446.1 kB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.4815, allocations: 0.4977 MB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003277/0.4819, allocations: 60 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.483, allocations: 399.7 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000364/0.4834, allocations: 250.9 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008961/0.4843, allocations: 0.5244 MB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.4865, allocations: 1.585 MB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4865, allocations: 0 / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4866, allocations: 0 / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.478e-05/0.4866, allocations: 0 / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.004332/0.4909, allocations: 1.479 MB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.491, allocations: 16.03 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.4922, allocations: 183.3 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.4936, allocations: 0.7546 MB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-05/0.4937, allocations: 73.98 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.4939, allocations: 99.88 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.496, allocations: 0.9574 MB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.496, allocations: 0 / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.4961, allocations: 43.98 kB / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.4961, allocations: 20 kB / 1.228 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.4983, allocations: 1.155 MB / 1.229 GB, free: 4.906 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004928/0.5032, allocations: 2.88 MB / 1.232 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.5049, allocations: 0.8524 MB / 1.233 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/0.5055, allocations: 322.6 kB / 1.233 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.925e-05/0.5056, allocations: 36.67 kB / 1.233 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.5066, allocations: 0.543 MB / 1.233 GB, free: 136 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.795e-06/0.5067, allocations: 0 / 1.233 GB, free: 136 kB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.00369/0.5104, allocations: 1.294 MB / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.5105, allocations: 200.8 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009277/0.5114, allocations: 0.6527 MB / 1.236 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.973e-05/0.5115, allocations: 49.69 kB / 1.236 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.5119, allocations: 408.4 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.5122, allocations: 287.8 kB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/0.5125, allocations: 174.5 kB / 1.236 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.5127, allocations: 390.8 kB / 1.237 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006819/0.5134, allocations: 289.8 kB / 1.237 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007281/0.5141, allocations: 395.1 kB / 1.237 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.5154, allocations: 0.6516 MB / 1.238 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.5155, allocations: 8 kB / 1.238 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002331/0.5178, allocations: 0.9151 MB / 1.239 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.5178, allocations: 15.92 kB / 1.239 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.5178, allocations: 0 / 1.239 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006718/0.5185, allocations: 80.84 kB / 1.239 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008016/0.5193, allocations: 183.7 kB / 1.239 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.5218, allocations: 1.524 MB / 1.241 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009411/0.5228, allocations: 99.22 kB / 1.241 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.5229, allocations: 39.97 kB / 1.241 GB, free: 8.238 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005572/0.5234, allocations: 288.2 kB / 1.241 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.5237, allocations: 86.95 kB / 1.241 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.5268, allocations: 1.152 MB / 1.242 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.5268, allocations: 12 kB / 1.242 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5268, allocations: 3.938 kB / 1.242 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.5268, allocations: 7.969 kB / 1.242 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.5282, allocations: 0.9308 MB / 1.243 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.5282, allocations: 0 / 1.243 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000653/0.5289, allocations: 155.8 kB / 1.243 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005843/0.5295, allocations: 92.75 kB / 1.244 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.072e-05/0.5296, allocations: 23.98 kB / 1.244 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.5316, allocations: 1.548 MB / 1.245 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5316, allocations: 7.875 kB / 1.245 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.5341, allocations: 0.9941 MB / 1.246 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006654/0.5348, allocations: 287.7 kB / 1.246 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.535, allocations: 31.92 kB / 1.246 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007955/0.5358, allocations: 65.33 kB / 1.246 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.536, allocations: 76.83 kB / 1.246 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.445e-05/0.5361, allocations: 39.97 kB / 1.247 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008628/0.537, allocations: 479 kB / 1.247 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.2e-07/0.537, allocations: 4 kB / 1.247 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001336/0.5384, allocations: 335.2 kB / 1.247 GB, free: 1.406 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001899/0.5403, allocations: 0.5992 MB / 1.248 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002037/0.5423, allocations: 0.8938 MB / 1.249 GB, free: 80 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5423, allocations: 0 / 1.249 GB, free: 80 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.5411/1.083, allocations: 0.5402 MB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.085, allocations: 277.3 kB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/1.088, allocations: 2.17 MB / 1.252 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005917/1.089, allocations: 1.038 MB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001008/1.09, allocations: 271 kB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/1.09, allocations: 114.2 kB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/1.09, allocations: 0 / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03101/1.121, allocations: 15.24 MB / 1.268 GB, free: 180.1 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)