Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 107.1 kB / 16.37 MB, free: 5.547 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.001806/0.001806, allocations: 195.2 kB / 17.3 MB, free: 5.184 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002531/0.002531, allocations: 295.9 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.054/1.054, allocations: 169.2 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 91.17 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2318, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.008044/0.2399, allocations: 4.505 MB / 0.686 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6762/0.9162, allocations: 150.7 MB / 0.8332 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.9175, allocations: 15.94 kB / 0.8332 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007433/0.9183, allocations: 177.3 kB / 0.8333 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.9209, allocations: 0.5217 MB / 0.8338 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.9238, allocations: 0.8733 MB / 0.8347 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002124/0.9259, allocations: 1.39 MB / 0.8361 GB, free: 184 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.9272, allocations: 0.6388 MB / 0.8367 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.9284, allocations: 0.4983 MB / 0.8372 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008692/0.9293, allocations: 0.5289 MB / 0.8377 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002006/0.9295, allocations: 120 kB / 0.8378 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.9311, allocations: 0.5074 MB / 0.8383 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003976/0.9315, allocations: 307 kB / 0.8386 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000671/0.9322, allocations: 0.5751 MB / 0.8391 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002573/0.9348, allocations: 1.7 MB / 0.8408 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.9348, allocations: 3.75 kB / 0.8408 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.176e-06/0.9348, allocations: 0 / 0.8408 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.9348, allocations: 0 / 0.8408 GB, free: 11.29 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003083/0.9379, allocations: 1.488 MB / 0.8423 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.428e-05/0.938, allocations: 8.031 kB / 0.8423 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.939, allocations: 187.3 kB / 0.8425 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.9405, allocations: 0.791 MB / 0.8432 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.882e-05/0.9406, allocations: 66 kB / 0.8433 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.9407, allocations: 84 kB / 0.8434 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.9425, allocations: 0.9807 MB / 0.8443 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.9425, allocations: 4 kB / 0.8443 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.212e-05/0.9426, allocations: 40 kB / 0.8444 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.9427, allocations: 24 kB / 0.8444 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.9446, allocations: 1.151 MB / 0.8455 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004654/0.9493, allocations: 2.669 MB / 0.8481 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.9515, allocations: 0.9925 MB / 0.8491 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.952, allocations: 330 kB / 0.8494 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.463e-05/0.9521, allocations: 36.67 kB / 0.8494 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009748/0.9531, allocations: 0.5335 MB / 0.85 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=88): time 2.605e-06/0.9531, allocations: 0 / 0.85 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88): time 0.003354/0.9565, allocations: 1.286 MB / 0.8512 GB, free: 368 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.9567, allocations: 196.9 kB / 0.8514 GB, free: 128 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008635/0.9575, allocations: 0.6528 MB / 0.852 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.653e-05/0.9576, allocations: 41.7 kB / 0.8521 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/0.958, allocations: 408.5 kB / 0.8525 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.9583, allocations: 287.8 kB / 0.8527 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.9586, allocations: 178.5 kB / 0.8529 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.9588, allocations: 386.8 kB / 0.8533 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005713/0.9594, allocations: 290.3 kB / 0.8536 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006968/0.9601, allocations: 391.1 kB / 0.8539 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.9613, allocations: 0.6555 MB / 0.8546 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.9613, allocations: 4.047 kB / 0.8546 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002149/0.9635, allocations: 0.9151 MB / 0.8555 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.9635, allocations: 4 kB / 0.8555 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.9635, allocations: 0 / 0.8555 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/0.9642, allocations: 80.84 kB / 0.8556 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/0.9649, allocations: 183.7 kB / 0.8557 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/0.9675, allocations: 1.63 MB / 0.8573 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/0.9683, allocations: 111.2 kB / 0.8574 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/0.9684, allocations: 39.97 kB / 0.8575 GB, free: 9.699 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (104): * Single equations (assignments): 103 * 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.0005395/0.9689, allocations: 275.9 kB / 0.8577 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.9691, allocations: 86.95 kB / 0.8578 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002645/0.9717, allocations: 1.187 MB / 0.859 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.9718, allocations: 8 kB / 0.859 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9718, allocations: 7.984 kB / 0.859 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.9718, allocations: 3.984 kB / 0.859 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.9755, allocations: 2.111 MB / 0.861 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.9756, allocations: 4 kB / 0.8611 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/0.9762, allocations: 167.8 kB / 0.8612 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004461/0.9767, allocations: 68.8 kB / 0.8613 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/0.9768, allocations: 31.97 kB / 0.8613 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.9788, allocations: 1.658 MB / 0.8629 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9788, allocations: 4 kB / 0.8629 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.981, allocations: 1.084 MB / 0.864 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000453/0.9815, allocations: 287.6 kB / 0.8643 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.9816, allocations: 24 kB / 0.8643 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006745/0.9823, allocations: 67.92 kB / 0.8644 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.9825, allocations: 85.02 kB / 0.8644 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/0.9826, allocations: 43.95 kB / 0.8645 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006436/0.9832, allocations: 471 kB / 0.8649 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9832, allocations: 0 / 0.8649 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00107/0.9843, allocations: 347.2 kB / 0.8653 GB, free: 1.445 MB / 0.6231 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 (106): * Single equations (assignments): 99 * 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.001602/0.9859, allocations: 0.6278 MB / 0.8659 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002037/0.988, allocations: 0.9014 MB / 0.8667 GB, free: 84 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.988, allocations: 4.188 kB / 0.8668 GB, free: 80 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.9891, allocations: 0.5665 MB / 0.8673 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.9903, allocations: 296.6 kB / 0.8676 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.9946, allocations: 1.841 MB / 0.8694 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000805/0.9954, allocations: 1.055 MB / 0.8704 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000886/0.9963, allocations: 283 kB / 0.8707 GB, free: 12 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.9966, allocations: 111.4 kB / 0.8708 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of SimCode: time 1.473e-06/0.9966, allocations: 0 / 0.8708 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of Templates: time 0.05786/1.054, allocations: 15.75 MB / 0.8862 GB, free: 12.36 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)