Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007999/0.007999, allocations: 99.36 kB / 15.73 MB, free: 6.047 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.002139/0.002139, allocations: 183.4 kB / 16.67 MB, free: 5.977 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002314/0.002314, allocations: 282 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9365/0.9365, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 104.1 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1707, allocations: 86.97 MB / 0.7664 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005672/0.1764, allocations: 4.41 MB / 0.7707 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5036/0.68, allocations: 150.6 MB / 0.9177 GB, free: 7.641 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009709/0.681, allocations: 19.88 kB / 0.9177 GB, free: 7.621 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007898/0.6819, allocations: 177.5 kB / 0.9179 GB, free: 7.449 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.684, allocations: 0.5156 MB / 0.9184 GB, free: 6.949 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.6862, allocations: 0.8319 MB / 0.9192 GB, free: 6.148 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001757/0.6879, allocations: 1.355 MB / 0.9206 GB, free: 4.785 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.689, allocations: 0.6301 MB / 0.9212 GB, free: 4.137 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008854/0.6899, allocations: 498.2 kB / 0.9216 GB, free: 3.648 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008061/0.6907, allocations: 0.5094 MB / 0.9221 GB, free: 3.137 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002687/0.691, allocations: 124 kB / 0.9223 GB, free: 3.016 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.6921, allocations: 481.3 kB / 0.9227 GB, free: 2.547 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003339/0.6924, allocations: 303 kB / 0.923 GB, free: 2.25 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006871/0.6931, allocations: 0.5596 MB / 0.9236 GB, free: 1.688 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.6953, allocations: 1.631 MB / 0.9251 GB, free: 60 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.6953, allocations: 4.734 kB / 0.9252 GB, free: 56 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6953, allocations: 0 / 0.9252 GB, free: 56 kB / 0.67 GB Notification: Performance of Transformations before backend: time 5.055e-05/0.6954, allocations: 0 / 0.9252 GB, free: 56 kB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003086/0.6985, allocations: 1.448 MB / 0.9266 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.6985, allocations: 8.031 kB / 0.9266 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009439/0.6995, allocations: 195.3 kB / 0.9268 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.7007, allocations: 0.7746 MB / 0.9275 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.407e-05/0.7008, allocations: 62 kB / 0.9276 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.7009, allocations: 89.97 kB / 0.9277 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.7025, allocations: 0.9464 MB / 0.9286 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.7025, allocations: 0 / 0.9286 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.718e-05/0.7026, allocations: 36 kB / 0.9286 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.7026, allocations: 20 kB / 0.9286 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.7043, allocations: 1.128 MB / 0.9297 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003699/0.708, allocations: 2.502 MB / 0.9322 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.7095, allocations: 0.9077 MB / 0.9331 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/0.7101, allocations: 313.4 kB / 0.9334 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.592e-05/0.7102, allocations: 36.69 kB / 0.9334 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008436/0.711, allocations: 0.5135 MB / 0.9339 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 2.474e-06/0.711, allocations: 0 / 0.9339 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.003081/0.7141, allocations: 1.251 MB / 0.9351 GB, free: 5.57 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.7142, allocations: 192.9 kB / 0.9353 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007198/0.715, allocations: 0.6409 MB / 0.9359 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.715, allocations: 45.7 kB / 0.936 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.7153, allocations: 400.4 kB / 0.9364 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.7155, allocations: 268.2 kB / 0.9366 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.7158, allocations: 182.2 kB / 0.9368 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.716, allocations: 386.7 kB / 0.9372 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005171/0.7165, allocations: 277.8 kB / 0.9374 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/0.7171, allocations: 379 kB / 0.9378 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.7182, allocations: 0.6242 MB / 0.9384 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7183, allocations: 4 kB / 0.9384 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001902/0.7202, allocations: 0.8722 MB / 0.9393 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.7202, allocations: 4 kB / 0.9393 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.7202, allocations: 0 / 0.9393 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005861/0.7208, allocations: 88.8 kB / 0.9393 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/0.7215, allocations: 175.7 kB / 0.9395 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.7235, allocations: 1.623 MB / 0.9411 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006998/0.7242, allocations: 96.05 kB / 0.9412 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.7243, allocations: 39.97 kB / 0.9412 GB, free: 15.07 MB / 0.7012 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 (99): * Single equations (assignments): 98 * 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.0004092/0.7247, allocations: 267.8 kB / 0.9415 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.7249, allocations: 90.95 kB / 0.9416 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.7273, allocations: 1.131 MB / 0.9427 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.7273, allocations: 12.88 kB / 0.9427 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7273, allocations: 3.938 kB / 0.9427 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.7273, allocations: 3.984 kB / 0.9427 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/0.7306, allocations: 2.014 MB / 0.9447 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.7306, allocations: 0 / 0.9447 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005781/0.7312, allocations: 163.7 kB / 0.9448 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000434/0.7316, allocations: 69.98 kB / 0.9449 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.7317, allocations: 27.97 kB / 0.9449 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.7335, allocations: 1.659 MB / 0.9465 GB, free: 9.414 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7335, allocations: 3.984 kB / 0.9465 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.7355, allocations: 1.045 MB / 0.9476 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.7359, allocations: 275.9 kB / 0.9478 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.736, allocations: 24 kB / 0.9478 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/0.7366, allocations: 68.47 kB / 0.9479 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.7368, allocations: 76.89 kB / 0.948 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-05/0.7369, allocations: 35.97 kB / 0.948 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005573/0.7375, allocations: 467 kB / 0.9485 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2e-07/0.7375, allocations: 10.75 kB / 0.9485 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008502/0.7383, allocations: 323.2 kB / 0.9488 GB, free: 7.082 MB / 0.7012 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * 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.001325/0.7397, allocations: 0.6109 MB / 0.9494 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.7414, allocations: 0.8713 MB / 0.9502 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7414, allocations: 3.984 kB / 0.9502 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009152/0.7423, allocations: 0.5354 MB / 0.9507 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.7435, allocations: 306.6 kB / 0.951 GB, free: 4.949 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/0.7473, allocations: 1.783 MB / 0.9528 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/0.7478, allocations: 1.035 MB / 0.9538 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007286/0.7486, allocations: 270.8 kB / 0.9541 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.7489, allocations: 111.4 kB / 0.9542 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of SimCode: time 6.21e-07/0.7489, allocations: 0 / 0.9542 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of Templates: time 0.02449/0.7734, allocations: 15.71 MB / 0.9695 GB, free: 2.184 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)