Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004926/0.004926, allocations: 104.7 kB / 15.74 MB, free: 6.492 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.001126/0.001126, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002101, allocations: 271 kB / 290.8 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9327/0.9327, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 95.84 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1665, allocations: 86.97 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005425/0.1719, allocations: 4.469 MB / 0.7707 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4877/0.6596, allocations: 150.8 MB / 0.918 GB, free: 7.398 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008727/0.6605, allocations: 15.94 kB / 0.918 GB, free: 7.383 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007501/0.6613, allocations: 181.5 kB / 0.9181 GB, free: 7.207 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.6632, allocations: 0.5356 MB / 0.9187 GB, free: 6.688 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.665, allocations: 0.8356 MB / 0.9195 GB, free: 5.883 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001113/0.6661, allocations: 1.371 MB / 0.9208 GB, free: 4.504 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007829/0.6669, allocations: 0.6308 MB / 0.9214 GB, free: 3.855 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005645/0.6675, allocations: 0.4953 MB / 0.9219 GB, free: 3.359 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006162/0.6681, allocations: 0.525 MB / 0.9224 GB, free: 2.832 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.6683, allocations: 124 kB / 0.9226 GB, free: 2.711 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007532/0.669, allocations: 493.3 kB / 0.923 GB, free: 2.23 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.6693, allocations: 315 kB / 0.9233 GB, free: 1.922 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004729/0.6698, allocations: 0.5596 MB / 0.9239 GB, free: 1.359 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.6715, allocations: 1.664 MB / 0.9255 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.6715, allocations: 0 / 0.9255 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6715, allocations: 0 / 0.9255 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.6715, allocations: 0.6562 kB / 0.9255 GB, free: 15.7 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002292/0.6738, allocations: 1.47 MB / 0.9269 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.6739, allocations: 8.031 kB / 0.9269 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008422/0.6747, allocations: 183.4 kB / 0.9271 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.6758, allocations: 0.7939 MB / 0.9279 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.6759, allocations: 66 kB / 0.928 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.676, allocations: 88 kB / 0.928 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.6774, allocations: 0.967 MB / 0.929 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.6775, allocations: 0 / 0.929 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-05/0.6776, allocations: 39.98 kB / 0.929 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.6776, allocations: 27.94 kB / 0.929 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.6793, allocations: 1.159 MB / 0.9302 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/0.683, allocations: 2.633 MB / 0.9328 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.6845, allocations: 0.8478 MB / 0.9336 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/0.685, allocations: 322.7 kB / 0.9339 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.652e-05/0.6851, allocations: 40.67 kB / 0.9339 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008331/0.6859, allocations: 0.5237 MB / 0.9344 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 1.944e-06/0.6859, allocations: 0 / 0.9344 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.003009/0.6889, allocations: 1.286 MB / 0.9357 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/0.689, allocations: 188.9 kB / 0.9359 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006698/0.6897, allocations: 0.6605 MB / 0.9365 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.652e-05/0.6898, allocations: 45.7 kB / 0.9366 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.69, allocations: 408.4 kB / 0.937 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.6902, allocations: 279.9 kB / 0.9372 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.6905, allocations: 186.5 kB / 0.9374 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.6907, allocations: 390.5 kB / 0.9378 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/0.6912, allocations: 289.8 kB / 0.938 GB, free: 2.523 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/0.6918, allocations: 395.1 kB / 0.9384 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.693, allocations: 0.6561 MB / 0.9391 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.693, allocations: 4 kB / 0.9391 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001886/0.6949, allocations: 0.919 MB / 0.94 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.6949, allocations: 4 kB / 0.94 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.6949, allocations: 3.938 kB / 0.94 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005797/0.6955, allocations: 88.77 kB / 0.9401 GB, free: 432 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/0.6962, allocations: 183.4 kB / 0.9402 GB, free: 252 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.6981, allocations: 1.623 MB / 0.9418 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000682/0.6988, allocations: 99.34 kB / 0.9419 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-05/0.6989, allocations: 39.97 kB / 0.9419 GB, free: 14.34 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 (105): * Single equations (assignments): 104 * 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.0003426/0.6992, allocations: 275.8 kB / 0.9422 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.6994, allocations: 90.88 kB / 0.9423 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/0.7018, allocations: 1.157 MB / 0.9434 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.7018, allocations: 11.94 kB / 0.9434 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.7018, allocations: 0 / 0.9434 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.7018, allocations: 11.95 kB / 0.9435 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000938/0.7028, allocations: 0.9308 MB / 0.9444 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.7028, allocations: 0 / 0.9444 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/0.7034, allocations: 159.8 kB / 0.9445 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004259/0.7038, allocations: 72.72 kB / 0.9446 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.635e-05/0.7039, allocations: 23.98 kB / 0.9446 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.7056, allocations: 1.666 MB / 0.9462 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7056, allocations: 0 / 0.9462 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.7075, allocations: 0.998 MB / 0.9472 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.7079, allocations: 279.7 kB / 0.9475 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.708, allocations: 31.94 kB / 0.9475 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/0.7086, allocations: 63.92 kB / 0.9476 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.7088, allocations: 80.83 kB / 0.9476 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.976e-05/0.7089, allocations: 39.97 kB / 0.9477 GB, free: 8.215 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005099/0.7094, allocations: 475 kB / 0.9481 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2e-07/0.7094, allocations: 4 kB / 0.9481 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007522/0.7102, allocations: 330.1 kB / 0.9485 GB, free: 7.43 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.001332/0.7115, allocations: 0.6131 MB / 0.9491 GB, free: 6.996 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.7131, allocations: 0.8986 MB / 0.9499 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7131, allocations: 0 / 0.9499 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009114/0.7141, allocations: 0.547 MB / 0.9505 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.7152, allocations: 299.4 kB / 0.9507 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.7188, allocations: 1.822 MB / 0.9525 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.7194, allocations: 1.047 MB / 0.9535 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007012/0.7201, allocations: 275 kB / 0.9538 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.7203, allocations: 111.4 kB / 0.9539 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of SimCode: time 3.61e-07/0.7204, allocations: 0 / 0.9539 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of Templates: time 0.02653/0.7469, allocations: 16.02 MB / 0.9696 GB, free: 2.125 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)