Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7681/0.7681, allocations: 143.4 MB / 159.2 MB, free: 4.93 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 186.8 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 447.3 MB, free: 5.828 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 99.77 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001905/0.001905, allocations: 280.2 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 79.89 kB / 0.6885 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3278, allocations: 81.28 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004569/0.3324, allocations: 4.156 MB / 0.772 GB, free: 23.49 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5853/0.9177, allocations: 148.1 MB / 0.9166 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006608/0.9185, allocations: 21.28 kB / 0.9167 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.919, allocations: 134.4 kB / 0.9168 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.9202, allocations: 398.2 kB / 0.9172 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.9218, allocations: 0.6877 MB / 0.9178 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001256/0.9231, allocations: 1.119 MB / 0.9189 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007989/0.9239, allocations: 0.6019 MB / 0.9195 GB, free: 15.82 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005648/0.9245, allocations: 376.1 kB / 0.9199 GB, free: 15.82 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.925, allocations: 431.7 kB / 0.9203 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.9251, allocations: 51.56 kB / 0.9203 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007749/0.9259, allocations: 394.8 kB / 0.9207 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.9261, allocations: 222.3 kB / 0.9209 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000466/0.9266, allocations: 451.6 kB / 0.9214 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.9282, allocations: 1.404 MB / 0.9227 GB, free: 15.71 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.9282, allocations: 2.375 kB / 0.9227 GB, free: 15.71 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9282, allocations: 0 / 0.9227 GB, free: 15.71 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.9282, allocations: 1.734 kB / 0.9227 GB, free: 15.71 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00226/0.9305, allocations: 1.322 MB / 0.924 GB, free: 14.98 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.9305, allocations: 9.781 kB / 0.924 GB, free: 14.98 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009505/0.9315, allocations: 176.2 kB / 0.9242 GB, free: 14.92 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009659/0.9325, allocations: 0.7087 MB / 0.9249 GB, free: 14.62 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.9325, allocations: 58.81 kB / 0.925 GB, free: 14.62 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.089e-05/0.9326, allocations: 77.14 kB / 0.925 GB, free: 14.62 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.9341, allocations: 0.8744 MB / 0.9259 GB, free: 14.46 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.9341, allocations: 2.312 kB / 0.9259 GB, free: 14.46 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-05/0.9342, allocations: 32.47 kB / 0.9259 GB, free: 14.46 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.9342, allocations: 23.91 kB / 0.9259 GB, free: 14.46 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.9357, allocations: 1.064 MB / 0.927 GB, free: 14.45 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00341/0.9392, allocations: 2.379 MB / 0.9293 GB, free: 13.68 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.9404, allocations: 0.7996 MB / 0.9301 GB, free: 13.56 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004593/0.9409, allocations: 280.5 kB / 0.9304 GB, free: 13.55 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.783e-05/0.941, allocations: 30.19 kB / 0.9304 GB, free: 13.55 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007353/0.9417, allocations: 430.5 kB / 0.9308 GB, free: 13.47 MB / 0.573 GB Notification: Performance of pre-optimization done (n=73): time 2.825e-06/0.9417, allocations: 0 / 0.9308 GB, free: 13.47 MB / 0.573 GB Notification: Performance of matching and sorting (n=73): time 0.002806/0.9445, allocations: 1.085 MB / 0.9319 GB, free: 13.27 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/0.9446, allocations: 200 kB / 0.932 GB, free: 13.04 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007692/0.9454, allocations: 0.5835 MB / 0.9326 GB, free: 12.91 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.983e-05/0.9455, allocations: 36.64 kB / 0.9326 GB, free: 12.88 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.9458, allocations: 377.6 kB / 0.933 GB, free: 12.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.946, allocations: 239.3 kB / 0.9332 GB, free: 12.55 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.9462, allocations: 161 kB / 0.9334 GB, free: 12.52 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.9464, allocations: 377.2 kB / 0.9337 GB, free: 12.21 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005447/0.9469, allocations: 239.1 kB / 0.934 GB, free: 12.21 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005582/0.9475, allocations: 336.9 kB / 0.9343 GB, free: 12.15 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009003/0.9484, allocations: 0.5601 MB / 0.9348 GB, free: 12.09 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.9484, allocations: 1.406 kB / 0.9348 GB, free: 12.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001685/0.9501, allocations: 0.786 MB / 0.9356 GB, free: 11.99 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.9501, allocations: 6.344 kB / 0.9356 GB, free: 11.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.9502, allocations: 4.125 kB / 0.9356 GB, free: 11.99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/0.9507, allocations: 81.39 kB / 0.9357 GB, free: 11.98 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.9514, allocations: 152.8 kB / 0.9358 GB, free: 11.98 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.9532, allocations: 1.518 MB / 0.9373 GB, free: 10.67 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006136/0.9538, allocations: 77.39 kB / 0.9374 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.9539, allocations: 35.03 kB / 0.9374 GB, free: 10.64 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0003436/0.9543, allocations: 254.3 kB / 0.9377 GB, free: 10.53 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.9544, allocations: 78.83 kB / 0.9378 GB, free: 10.49 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.9565, allocations: 1.008 MB / 0.9387 GB, free: 10.36 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.9565, allocations: 8.219 kB / 0.9387 GB, free: 10.36 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.9565, allocations: 2 kB / 0.9387 GB, free: 10.36 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.9566, allocations: 8.766 kB / 0.9388 GB, free: 10.35 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.9594, allocations: 1.856 MB / 0.9406 GB, free: 9.992 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9594, allocations: 0 / 0.9406 GB, free: 9.992 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/0.96, allocations: 153.2 kB / 0.9407 GB, free: 9.988 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004959/0.9605, allocations: 80.09 kB / 0.9408 GB, free: 9.977 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/0.9605, allocations: 27.56 kB / 0.9408 GB, free: 9.973 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.9622, allocations: 1.533 MB / 0.9423 GB, free: 8.676 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9622, allocations: 0 / 0.9423 GB, free: 8.676 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00253/0.9647, allocations: 1.927 MB / 0.9442 GB, free: 7.855 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/0.965, allocations: 265.6 kB / 0.9445 GB, free: 7.703 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.662e-05/0.9651, allocations: 19.12 kB / 0.9445 GB, free: 7.699 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/0.9657, allocations: 54.3 kB / 0.9445 GB, free: 7.699 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.9658, allocations: 63.03 kB / 0.9446 GB, free: 7.699 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.995e-05/0.9659, allocations: 36.66 kB / 0.9446 GB, free: 7.695 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000435/0.9663, allocations: 419.8 kB / 0.945 GB, free: 7.605 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.61e-07/0.9663, allocations: 0 / 0.945 GB, free: 7.605 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009062/0.9673, allocations: 296.1 kB / 0.9453 GB, free: 7.559 MB / 0.573 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 (87): * Single equations (assignments): 84 * 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.00124/0.9685, allocations: 0.6039 MB / 0.9459 GB, free: 7.344 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.9699, allocations: 0.7619 MB / 0.9466 GB, free: 7.203 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.9699, allocations: 1.203 kB / 0.9466 GB, free: 7.203 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007719/0.9707, allocations: 0.4913 MB / 0.9471 GB, free: 7.086 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.9719, allocations: 257.2 kB / 0.9474 GB, free: 7.066 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.9758, allocations: 2.494 MB / 0.9498 GB, free: 5.859 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.9763, allocations: 1.024 MB / 0.9508 GB, free: 5.145 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007647/0.9771, allocations: 262.1 kB / 0.951 GB, free: 5.066 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.9773, allocations: 95.41 kB / 0.9511 GB, free: 5.059 MB / 0.573 GB Notification: Performance of SimCode: time 4.61e-07/0.9773, allocations: 0 / 0.9511 GB, free: 5.059 MB / 0.573 GB Notification: Performance of Templates: time 0.02064/0.998, allocations: 13.66 MB / 0.9645 GB, free: 15.06 MB / 0.5886 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)