Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.26/2.26, allocations: 391.2 MB / 407 MB, free: 10.79 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.001426/0.001426, allocations: 191.5 kB / 499.1 MB, free: 4.676 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.678/1.678, allocations: 222.9 MB / 0.7948 GB, free: 15.79 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.001167/0.001167, allocations: 111.6 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 50.16 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3411, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00513/0.3463, allocations: 4.128 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1434/0.4898, allocations: 148.2 MB / 1.367 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009317/0.4907, allocations: 15.94 kB / 1.367 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005376/0.4913, allocations: 131 kB / 1.367 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.4928, allocations: 401.9 kB / 1.367 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.4948, allocations: 0.6985 MB / 1.368 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.4959, allocations: 1.11 MB / 1.369 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008144/0.4968, allocations: 0.594 MB / 1.37 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004938/0.4973, allocations: 386.4 kB / 1.37 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.4977, allocations: 418 kB / 1.37 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.4978, allocations: 52 kB / 1.37 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008243/0.4987, allocations: 395.6 kB / 1.371 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.4989, allocations: 223.1 kB / 1.371 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000403/0.4993, allocations: 445.3 kB / 1.372 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.5007, allocations: 1.398 MB / 1.373 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5007, allocations: 0 / 1.373 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.12e-07/0.5007, allocations: 0 / 1.373 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.5008, allocations: 0 / 1.373 GB, free: 6.168 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002211/0.503, allocations: 1.33 MB / 1.374 GB, free: 4.777 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.503, allocations: 15.98 kB / 1.374 GB, free: 4.762 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008975/0.5039, allocations: 167.5 kB / 1.374 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.505, allocations: 0.6995 MB / 1.375 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.5051, allocations: 69.94 kB / 1.375 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.593e-05/0.5052, allocations: 79.94 kB / 1.375 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.5066, allocations: 0.8598 MB / 1.376 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.5066, allocations: 4 kB / 1.376 GB, free: 2.805 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-05/0.5067, allocations: 32 kB / 1.376 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.5068, allocations: 16 kB / 1.376 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.5083, allocations: 1.069 MB / 1.377 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.5122, allocations: 2.375 MB / 1.379 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.5136, allocations: 0.7989 MB / 1.38 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004652/0.5141, allocations: 278.4 kB / 1.38 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.98e-05/0.5142, allocations: 28.59 kB / 1.38 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007506/0.515, allocations: 423.2 kB / 1.381 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=72): time 3.056e-06/0.515, allocations: 0 / 1.381 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72): time 0.002877/0.5179, allocations: 1.077 MB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.518, allocations: 192.6 kB / 1.382 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000732/0.5187, allocations: 0.5862 MB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.5188, allocations: 37.7 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.5191, allocations: 372.3 kB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.5193, allocations: 240.5 kB / 1.383 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.5195, allocations: 150.5 kB / 1.383 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.5197, allocations: 386.7 kB / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004495/0.5202, allocations: 233.9 kB / 1.384 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.5207, allocations: 326.8 kB / 1.384 GB, free: 10 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009534/0.5217, allocations: 0.5472 MB / 1.385 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.5217, allocations: 3.938 kB / 1.385 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001722/0.5234, allocations: 0.7666 MB / 1.386 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.5234, allocations: 4 kB / 1.386 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5235, allocations: 7.984 kB / 1.386 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/0.5241, allocations: 76.86 kB / 1.386 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/0.5247, allocations: 151.8 kB / 1.386 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.5267, allocations: 1.524 MB / 1.387 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006341/0.5273, allocations: 79.33 kB / 1.387 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.5274, allocations: 35.97 kB / 1.387 GB, free: 6.645 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0004607/0.5279, allocations: 251.5 kB / 1.388 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.528, allocations: 75.06 kB / 1.388 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.5302, allocations: 1.006 MB / 1.389 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.5302, allocations: 8 kB / 1.389 GB, free: 5.285 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.5302, allocations: 0 / 1.389 GB, free: 5.285 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.5302, allocations: 3.984 kB / 1.389 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.5333, allocations: 1.854 MB / 1.391 GB, free: 3.367 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5333, allocations: 0 / 1.391 GB, free: 3.367 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.5338, allocations: 155.7 kB / 1.391 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/0.5343, allocations: 76.78 kB / 1.391 GB, free: 3.137 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.954e-05/0.5344, allocations: 27.91 kB / 1.391 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.5362, allocations: 1.54 MB / 1.392 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5362, allocations: 0 / 1.392 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.5389, allocations: 1.92 MB / 1.394 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/0.5393, allocations: 255.8 kB / 1.394 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.5394, allocations: 23.94 kB / 1.395 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/0.54, allocations: 53.77 kB / 1.395 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.5401, allocations: 60.91 kB / 1.395 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-05/0.5402, allocations: 35.92 kB / 1.395 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005107/0.5407, allocations: 427.1 kB / 1.395 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5407, allocations: 0 / 1.395 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009806/0.5417, allocations: 295.2 kB / 1.395 GB, free: 14.32 MB / 0.9011 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,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001481/0.5432, allocations: 0.5843 MB / 1.396 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.545, allocations: 0.755 MB / 1.397 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.5451, allocations: 4 kB / 1.397 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008679/0.5459, allocations: 496.4 kB / 1.397 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.5472, allocations: 256.1 kB / 1.397 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/0.5516, allocations: 2.495 MB / 1.4 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000595/0.5523, allocations: 1.024 MB / 1.401 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008784/0.5532, allocations: 258.1 kB / 1.401 GB, free: 8.555 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.5534, allocations: 95.39 kB / 1.401 GB, free: 8.461 MB / 0.9011 GB Notification: Performance of SimCode: time 1.483e-06/0.5534, allocations: 0 / 1.401 GB, free: 8.461 MB / 0.9011 GB Notification: Performance of Templates: time 0.02394/0.5774, allocations: 13.62 MB / 1.414 GB, free: 10.97 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)