Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006241/0.006241, allocations: 99.8 kB / 15.73 MB, free: 6.039 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.001385/0.001385, allocations: 202.5 kB / 16.68 MB, free: 5.965 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.33/1.33, 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.00209/0.00209, allocations: 274.5 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9391/0.9391, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 99.86 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1831, allocations: 86.97 MB / 0.7664 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006754/0.1899, allocations: 5.45 MB / 0.7717 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5567/0.7466, allocations: 151.1 MB / 0.9193 GB, free: 6.266 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.7485, allocations: 19.94 kB / 0.9193 GB, free: 6.246 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.7498, allocations: 213.9 kB / 0.9195 GB, free: 6.035 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003596/0.7534, allocations: 0.6734 MB / 0.9201 GB, free: 5.367 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003582/0.757, allocations: 0.9814 MB / 0.9211 GB, free: 4.391 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003146/0.7602, allocations: 1.901 MB / 0.923 GB, free: 2.48 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.7618, allocations: 1.08 MB / 0.924 GB, free: 1.363 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.763, allocations: 0.794 MB / 0.9248 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008647/0.7639, allocations: 0.8679 MB / 0.9256 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.7641, allocations: 208 kB / 0.9258 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000999/0.7651, allocations: 0.5582 MB / 0.9264 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004034/0.7655, allocations: 494.4 kB / 0.9269 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006841/0.7662, allocations: 0.8978 MB / 0.9277 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.7686, allocations: 2.506 MB / 0.9302 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7686, allocations: 0 / 0.9302 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7686, allocations: 0 / 0.9302 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.023e-05/0.7687, allocations: 0 / 0.9302 GB, free: 11.04 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.00351/0.7722, allocations: 2.079 MB / 0.9322 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.7722, allocations: 12.03 kB / 0.9322 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009372/0.7732, allocations: 260.4 kB / 0.9325 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.7745, allocations: 0.9978 MB / 0.9334 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-05/0.7746, allocations: 123.1 kB / 0.9336 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.7748, allocations: 148 kB / 0.9337 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/0.7772, allocations: 1.572 MB / 0.9352 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.7772, allocations: 0 / 0.9352 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.7774, allocations: 79.67 kB / 0.9353 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.7774, allocations: 36 kB / 0.9353 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.7798, allocations: 1.635 MB / 0.9369 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005695/0.7855, allocations: 4.097 MB / 0.9409 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.7875, allocations: 1.193 MB / 0.9421 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007355/0.7882, allocations: 471.7 kB / 0.9426 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.7884, allocations: 45 kB / 0.9426 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001207/0.7896, allocations: 0.7857 MB / 0.9434 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=128): time 2.434e-06/0.7896, allocations: 0 / 0.9434 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of matching and sorting (n=128): time 0.003985/0.7936, allocations: 1.842 MB / 0.9452 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.7937, allocations: 201.2 kB / 0.9454 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009957/0.7947, allocations: 0.8693 MB / 0.9462 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.772e-05/0.7948, allocations: 49.7 kB / 0.9463 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.7952, allocations: 0.6185 MB / 0.9469 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.7955, allocations: 428.3 kB / 0.9473 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003568/0.7959, allocations: 254.8 kB / 0.9475 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.796, allocations: 357.9 kB / 0.9479 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007813/0.7968, allocations: 450.4 kB / 0.9483 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009015/0.7977, allocations: 0.5571 MB / 0.9488 GB, free: 7.539 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.7993, allocations: 0.9818 MB / 0.9498 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.7993, allocations: 112 / 0.9498 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002594/0.8019, allocations: 1.352 MB / 0.9511 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.802, allocations: 8 kB / 0.9511 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.802, allocations: 1.562 kB / 0.9511 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/0.8026, allocations: 84.84 kB / 0.9512 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.8036, allocations: 267.6 kB / 0.9514 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.8056, allocations: 1.644 MB / 0.9531 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.8066, allocations: 157.2 kB / 0.9532 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.8067, allocations: 55.95 kB / 0.9533 GB, free: 2.84 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: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0005776/0.8073, allocations: 349.5 kB / 0.9536 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.8075, allocations: 127.2 kB / 0.9537 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/0.8109, allocations: 1.712 MB / 0.9554 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.8109, allocations: 16.94 kB / 0.9554 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.8109, allocations: 0 / 0.9554 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.811, allocations: 7.969 kB / 0.9554 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.8125, allocations: 1.412 MB / 0.9568 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.8125, allocations: 0 / 0.9568 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008668/0.8133, allocations: 211.7 kB / 0.957 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004128/0.8138, allocations: 76.78 kB / 0.9571 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-05/0.8139, allocations: 35.97 kB / 0.9571 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.8156, allocations: 1.67 MB / 0.9587 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8156, allocations: 8 kB / 0.9587 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.8181, allocations: 1.414 MB / 0.9601 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000464/0.8186, allocations: 383.7 kB / 0.9605 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.8188, allocations: 35.89 kB / 0.9605 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000845/0.8196, allocations: 83.91 kB / 0.9606 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.8198, allocations: 117.3 kB / 0.9607 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.761e-05/0.82, allocations: 51.97 kB / 0.9608 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007594/0.8207, allocations: 0.6425 MB / 0.9614 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8207, allocations: 0 / 0.9614 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001024/0.8218, allocations: 478.6 kB / 0.9618 GB, free: 9.777 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001338/0.8231, allocations: 0.6237 MB / 0.9625 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002257/0.8254, allocations: 1.271 MB / 0.9637 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.8254, allocations: 4 kB / 0.9637 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.8266, allocations: 0.7401 MB / 0.9644 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.8278, allocations: 337 kB / 0.9647 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.8325, allocations: 2.7 MB / 0.9674 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006897/0.8332, allocations: 1.24 MB / 0.9686 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009178/0.8341, allocations: 325.9 kB / 0.9689 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/0.8345, allocations: 159.3 kB / 0.9691 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.8345, allocations: 0 / 0.9691 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of Templates: time 0.03108/0.8656, allocations: 21 MB / 0.9896 GB, free: 13.68 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)