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.008332/0.008332, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001755/0.001755, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002199/0.0022, allocations: 274.1 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.899/0.899, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 99.84 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1572, allocations: 86.97 MB / 0.7664 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005828/0.1631, allocations: 4.507 MB / 0.7708 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5222/0.6853, allocations: 150.7 MB / 0.9179 GB, free: 7.398 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008528/0.6862, allocations: 15.94 kB / 0.9179 GB, free: 7.383 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.6869, allocations: 174.3 kB / 0.9181 GB, free: 7.211 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.6889, allocations: 0.52 MB / 0.9186 GB, free: 6.707 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.6912, allocations: 0.8688 MB / 0.9195 GB, free: 5.867 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001747/0.6929, allocations: 1.388 MB / 0.9208 GB, free: 4.473 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.694, allocations: 0.6514 MB / 0.9215 GB, free: 3.801 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008163/0.6948, allocations: 0.4983 MB / 0.9219 GB, free: 3.301 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008203/0.6956, allocations: 0.5289 MB / 0.9225 GB, free: 2.77 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002695/0.6959, allocations: 124 kB / 0.9226 GB, free: 2.648 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.697, allocations: 0.5035 MB / 0.9231 GB, free: 2.145 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.6973, allocations: 307 kB / 0.9234 GB, free: 1.844 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006312/0.698, allocations: 0.5845 MB / 0.9239 GB, free: 1.258 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.6998, allocations: 1.693 MB / 0.9256 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6998, allocations: 0 / 0.9256 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6998, allocations: 0 / 0.9256 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.6999, allocations: 0 / 0.9256 GB, free: 15.57 MB / 0.6856 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.002424/0.7023, allocations: 1.488 MB / 0.927 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.7023, allocations: 8.031 kB / 0.927 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008597/0.7032, allocations: 191.3 kB / 0.9272 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.7043, allocations: 0.7841 MB / 0.928 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/0.7044, allocations: 66 kB / 0.9281 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.7045, allocations: 88 kB / 0.9281 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.7061, allocations: 0.9846 MB / 0.9291 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.7061, allocations: 0 / 0.9291 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.613e-05/0.7062, allocations: 44 kB / 0.9291 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.7062, allocations: 20 kB / 0.9292 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.7079, allocations: 1.151 MB / 0.9303 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00392/0.7119, allocations: 2.679 MB / 0.9329 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.7139, allocations: 0.9783 MB / 0.9339 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.7144, allocations: 322.7 kB / 0.9342 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.912e-05/0.7145, allocations: 36.67 kB / 0.9342 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008828/0.7154, allocations: 0.5307 MB / 0.9347 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 2.555e-06/0.7154, allocations: 0 / 0.9347 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.003135/0.7186, allocations: 1.294 MB / 0.936 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.871e-05/0.7187, allocations: 204.8 kB / 0.9362 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007566/0.7195, allocations: 0.6412 MB / 0.9368 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.7195, allocations: 49.69 kB / 0.9369 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.7198, allocations: 400.5 kB / 0.9372 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.72, allocations: 287.9 kB / 0.9375 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.7203, allocations: 178.5 kB / 0.9377 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7205, allocations: 386.7 kB / 0.938 GB, free: 2.449 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/0.721, allocations: 297.8 kB / 0.9383 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006409/0.7217, allocations: 391.5 kB / 0.9387 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.7228, allocations: 0.6516 MB / 0.9393 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.7228, allocations: 3.938 kB / 0.9393 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001976/0.7248, allocations: 0.915 MB / 0.9402 GB, free: 176 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7248, allocations: 4 kB / 0.9402 GB, free: 172 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7248, allocations: 4 kB / 0.9402 GB, free: 168 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.7254, allocations: 88.81 kB / 0.9403 GB, free: 76 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/0.7262, allocations: 175.8 kB / 0.9405 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.7282, allocations: 1.622 MB / 0.9421 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007778/0.729, allocations: 117.5 kB / 0.9422 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.342e-05/0.7291, allocations: 43.97 kB / 0.9422 GB, free: 13.98 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: 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.0004214/0.7295, allocations: 272.1 kB / 0.9425 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.7297, allocations: 90.94 kB / 0.9426 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.7321, allocations: 1.191 MB / 0.9437 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.7322, allocations: 12 kB / 0.9438 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.7322, allocations: 0 / 0.9438 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.7322, allocations: 3.984 kB / 0.9438 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.7355, allocations: 2.1 MB / 0.9458 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.7355, allocations: 2.5 kB / 0.9458 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/0.7361, allocations: 167.8 kB / 0.946 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/0.7366, allocations: 72.73 kB / 0.946 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.7366, allocations: 31.97 kB / 0.9461 GB, free: 9.969 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.7384, allocations: 1.666 MB / 0.9477 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7384, allocations: 0 / 0.9477 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.7404, allocations: 1.088 MB / 0.9488 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/0.7409, allocations: 287.6 kB / 0.949 GB, free: 6.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.741, allocations: 24 kB / 0.9491 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006766/0.7417, allocations: 68.48 kB / 0.9491 GB, free: 6.66 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.7418, allocations: 88.7 kB / 0.9492 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.629e-05/0.7419, allocations: 39.97 kB / 0.9492 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005402/0.7425, allocations: 475 kB / 0.9497 GB, free: 6.082 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7425, allocations: 0 / 0.9497 GB, free: 6.082 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008758/0.7433, allocations: 350.9 kB / 0.95 GB, free: 5.742 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 (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.001325/0.7447, allocations: 0.6219 MB / 0.9506 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.7464, allocations: 0.8987 MB / 0.9515 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.7464, allocations: 4 kB / 0.9515 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000926/0.7474, allocations: 0.5666 MB / 0.9521 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.7486, allocations: 306 kB / 0.9524 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.7523, allocations: 1.85 MB / 0.9542 GB, free: 1.664 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/0.7529, allocations: 1.055 MB / 0.9552 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007667/0.7536, allocations: 275 kB / 0.9555 GB, free: 316 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.7539, allocations: 115.4 kB / 0.9556 GB, free: 204 kB / 0.7012 GB Notification: Performance of SimCode: time 5.71e-07/0.7539, allocations: 0 / 0.9556 GB, free: 204 kB / 0.7012 GB Notification: Performance of Templates: time 0.02625/0.7802, allocations: 16.23 MB / 0.9714 GB, free: 172 kB / 0.7169 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)